Skip to content

Commit

Permalink
Updating the rf4 deployment procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdksh committed Oct 10, 2024
1 parent 1a35c78 commit 877e93b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 68 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/production-deploy.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/rpgf4-production-deploy.yml
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 }}
Expand All @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/rpgf4-staging-deploy.yml
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 }}
Expand All @@ -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
27 changes: 0 additions & 27 deletions .github/workflows/staging-deploy.yml

This file was deleted.

0 comments on commit 877e93b

Please sign in to comment.