Update .woodpecker.yml

This commit is contained in:
colin 2024-01-23 02:42:39 +00:00
parent 1619474a02
commit 7367460ad1
1 changed files with 10 additions and 10 deletions

View File

@ -41,16 +41,16 @@ steps:
- docker compose -f docker-compose.staging.yml push - docker compose -f docker-compose.staging.yml push
- docker stack deploy --with-registry-auth -c ./stack.staging.yml $${CI_REPO_NAME}-staging - docker stack deploy --with-registry-auth -c ./stack.staging.yml $${CI_REPO_NAME}-staging
# Wait for Deploy to Complete # # Wait for Deploy to Complete
wait-for-deploy-staging: # wait-for-deploy-staging:
name: wait-for-deploy-staging # name: wait-for-deploy-staging
image: woodpeckerci/plugin-git # image: woodpeckerci/plugin-git
commands: # commands:
- echo "Waiting for staging deploy step to complete rollout." # - echo "Waiting for staging deploy step to complete rollout."
- sleep 60 # - sleep 60
when: # when:
- branch: main # - branch: main
- event: push # - event: push
# # Run Automated Tests on staging Branch # # Run Automated Tests on staging Branch
# test-staging: # test-staging: