The following examples ought to help you set up CI/CD workflow on Wodby.
See full documentation on CI/CD workflow at https://wodby.com/docs/apps/deploy/#cicd
The following example is for managed HTML stack:
- Installs your dependencies from
package.json
- Runs build
- Builds and pushes a docker image (HTTP server) with contents of
./build
- Deploys this image to your HTML app instance
Example files:
- GitHub Actions:
.github/workflows/workflow.yml
- CircleCI:
.circleci/config.yml
- TravisCI:
.travis.yml
- BitBucket pipelines:
bitbucket-pipelines.yml
- Custom shell script:
custom.sh
The following example is for managed PHP-based stacks (Drupal, WordPress, Generic PHP):
- Installs your dependencies from
composer.json
- Builds and pushes default images with contents of the current directory
./
- Deploys build to your app instance
Example files:
- GitHub Actions:
.github/workflows/workflow.yml
- CircleCI:
.circleci/config.yml
- TravisCI:
.travis.yml
- GitLab CI:
.gitlab-ci.yml
- BitBucket pipelines:
bitbucket-pipelines.yml
- Custom shell script:
custom.sh