Skip to content

Commit 877e93b

Browse files
committed
Updating the rf4 deployment procedures
1 parent 1a35c78 commit 877e93b

File tree

4 files changed

+14
-68
lines changed

4 files changed

+14
-68
lines changed

.github/workflows/production-deploy.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: production-deploy-pipeline
1+
name: rf4-deploy-pipeline
22

33
on:
44
push:
55
branches:
6-
- master
6+
- rf4
77

88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: SSH and Redeploy Production
12+
- name: SSH and Redeploy rf4
1313
uses: appleboy/[email protected]
1414
with:
1515
host: ${{ secrets.PROD_HOST }}
@@ -20,8 +20,8 @@ jobs:
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
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: staging-deploy-pipeline
1+
name: rf4-staging-deploy-pipeline
22

33
on:
44
push:
55
branches:
6-
- staging
6+
- rf4-staging
77

88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: SSH and Redeploy Staging
12+
- name: SSH and Redeploy rf4-staging
1313
uses: appleboy/[email protected]
1414
with:
1515
host: ${{ secrets.STAGING_HOST }}
@@ -20,8 +20,8 @@ jobs:
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

.github/workflows/staging-deploy.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)