File tree Expand file tree Collapse file tree 4 files changed +14
-68
lines changed Expand file tree Collapse file tree 4 files changed +14
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : production -deploy-pipeline
1+ name : rf4 -deploy-pipeline
22
33on :
44 push :
55 branches :
6- - master
6+ - rf4
77
88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : SSH and Redeploy Production
12+ - name : SSH and Redeploy rf4
13131414 with :
1515 host : ${{ secrets.PROD_HOST }}
2020 cd rpgf4-pw-backend
2121 docker-compose down -v
2222 docker image prune -a --force
23- git checkout master
24- git reset --hard origin/master
25- git pull origin master
23+ git checkout rf4
24+ git reset --hard origin/rf4
25+ git pull origin rf4
2626 docker-compose build --no-cache
27- docker-compose up -d
27+ docker-compose up -d
Original file line number Diff line number Diff line change 1- name : staging-deploy-pipeline
1+ name : rf4- staging-deploy-pipeline
22
33on :
44 push :
55 branches :
6- - staging
6+ - rf4- staging
77
88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : SSH and Redeploy Staging
12+ - name : SSH and Redeploy rf4-staging
13131414 with :
1515 host : ${{ secrets.STAGING_HOST }}
2020 cd rpgf4-pw-backend
2121 docker-compose down -v
2222 docker image prune -a --force
23- git checkout staging
24- git reset --hard origin/staging
25- git pull origin staging
23+ git checkout rf4- staging
24+ git reset --hard origin/rf4- staging
25+ git pull origin rf4- staging
2626 docker-compose build --no-cache
27- docker-compose up -d
27+ docker-compose up -d
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments