-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the rf4 deployment procedures
- Loading branch information
Showing
4 changed files
with
14 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: production-deploy-pipeline | ||
name: rf4-deploy-pipeline | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- rf4 | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: SSH and Redeploy Production | ||
- name: SSH and Redeploy rf4 | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.PROD_HOST }} | ||
|
@@ -20,8 +20,8 @@ jobs: | |
cd rpgf4-pw-backend | ||
docker-compose down -v | ||
docker image prune -a --force | ||
git checkout master | ||
git reset --hard origin/master | ||
git pull origin master | ||
git checkout rf4 | ||
git reset --hard origin/rf4 | ||
git pull origin rf4 | ||
docker-compose build --no-cache | ||
docker-compose up -d | ||
docker-compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: staging-deploy-pipeline | ||
name: rf4-staging-deploy-pipeline | ||
|
||
on: | ||
push: | ||
branches: | ||
- staging | ||
- rf4-staging | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: SSH and Redeploy Staging | ||
- name: SSH and Redeploy rf4-staging | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.STAGING_HOST }} | ||
|
@@ -20,8 +20,8 @@ jobs: | |
cd rpgf4-pw-backend | ||
docker-compose down -v | ||
docker image prune -a --force | ||
git checkout staging | ||
git reset --hard origin/staging | ||
git pull origin staging | ||
git checkout rf4-staging | ||
git reset --hard origin/rf4-staging | ||
git pull origin rf4-staging | ||
docker-compose build --no-cache | ||
docker-compose up -d | ||
docker-compose up -d |
This file was deleted.
Oops, something went wrong.