Skip to content

Commit

Permalink
Improve example site config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Hoover committed Apr 27, 2021
1 parent f92623e commit 7a904be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/examples/wordpress-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ usage:
requires:
- wpengine/build

# Deploy to development
- wpengine/deploy_site:
name: deploy-development
environment: development
Expand All @@ -34,6 +35,8 @@ usage:
branches:
only: development

# Deploy to staging
# If regression is enabled, you must also pass the pipeline ID
- wpengine/deploy_site:
name: deploy-staging
environment: staging
Expand All @@ -46,6 +49,8 @@ usage:
branches:
only: staging

# Deploy to production
# If regression is enabled, you must also pass the pipeline ID
- wpengine/deploy_site:
name: deploy-production
environment: production
Expand All @@ -61,6 +66,7 @@ usage:
- master
- production

# Deploy any branch starting with `feat-` to a feature install
- wpengine/deploy_site:
name: deploy-feature
environment: thenameofmyfeatureinstall
Expand All @@ -72,8 +78,10 @@ usage:
only:
- /feat-.*/

# Deploy to any install. Specify the install by the branch name. `deploy-INSTALLNAME`
- wpengine/deploy_site:
name: deploy-site
environment: qa
requires:
- wpengine/lint
- wpengine/codeception
Expand Down

0 comments on commit 7a904be

Please sign in to comment.