Skip to content

Commit

Permalink
Update frontend_pr_cd_job.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chiashengchen authored Oct 16, 2023
1 parent 84e0750 commit 2c5d3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/frontend_pr_cd_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 All @@ -38,7 +38,7 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
cd ~/citadels/frontend/frontend
cd ~/citadels/frontend
sudo docker stop react-container
sudo docker rm react-container
sudo docker rmi react-image
Expand Down

0 comments on commit 2c5d3ea

Please sign in to comment.