Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tlovett1 committed Apr 16, 2024
1 parent 1e46cf9 commit 911ad5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/toolkit/project/.gitlab-ci-parent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ build_plugins_and_themes:
expire_in: 1 day
cache: {}

deploy_trunk:
deploy:
stage: deploy
environment:
name: Production
script:
- ./10up-toolkit project deploy $CI_COMMIT_REF_NAME --method=rsync
2 changes: 1 addition & 1 deletion packages/toolkit/scripts/project/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const run = async () => {
const matchedEnvironment = getEnvironmentFromBranch(branch, variables.environments);

if (!matchedEnvironment) {
log(`No environment found matching branch \`${branch}\`.`);
log(`No environment found matching branch \`${branch}\`. Skipping deploy.`);
process.exit(0);
}

Expand Down

0 comments on commit 911ad5b

Please sign in to comment.