Test servermigration branch

This commit is contained in:
Chris Croome 2022-11-06 19:32:22 +00:00
parent 8cc7fc3273
commit 4322865986
1 changed files with 19 additions and 15 deletions

View File

@ -1,9 +1,10 @@
---
image: ruby:2.6.6 image: ruby:2.6.6
stages: stages:
- test - test
- staging - staging
- production - production
variables: variables:
JEKYLL_ENV: production JEKYLL_ENV: production
@ -47,6 +48,7 @@ deploy:dev:
url: https://dev.coops.tech url: https://dev.coops.tech
only: only:
- master - master
- servermigration
deploy:production: deploy:production:
stage: production stage: production
@ -61,7 +63,9 @@ deploy:production:
url: https://www.coops.tech url: https://www.coops.tech
only: only:
- master - master
- servermigration
when: manual when: manual
after_script: after_script:
- rm -rf /root/.ssh/ - rm -rf /root/.ssh/
...