Skip to content

Commit

Permalink
Migrate Deployment Env (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiashengchen committed Oct 17, 2023
1 parent bea1d51 commit 03cb79d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend_pr_cd_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
cd /webApp/backend
sudo docker-compose up -d --build
cd ~/citadels/backend
sudo MONGO_URI=$MONGO_URI docker-compose up -d --build
2 changes: 1 addition & 1 deletion .github/workflows/frontend_pr_cd_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USERNAME }}
TARGET: ${{ secrets.TARGET_DIR }}/frontend
TARGET: ${{ secrets.TARGET_DIR }}

- name: Executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit 03cb79d

Please sign in to comment.