Skip to content

Commit 299c8ee

Browse files
committed
Update GitLab CI configuration to allow deployments for tags in staging and production environments.
1 parent 3d14f71 commit 299c8ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ deploy_staging:
7373
url: https://staging.wahay.app
7474
only:
7575
- main
76+
- tags
7677
script:
7778
- 'export DEPLOY_DIR=/home/wahay/tmp/deploy_binaries'
7879
- '$DO_SSH rm -rf $DEPLOY_DIR'
@@ -108,6 +109,7 @@ deploy_production:
108109
when: manual
109110
only:
110111
- main
112+
- tags
111113
script:
112114
- 'export DEPLOY_DIR=/home/wahay/tmp/deploy_binaries'
113115
- '$DO_SSH rm -rf $DEPLOY_DIR'

0 commit comments

Comments
 (0)