Skip to content

Commit

Permalink
Updated CD workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
im1ex committed Jul 2, 2024
1 parent 50c5aba commit 06c6fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ jobs:
SSH_PATH: ${{ vars.DEPLOYMENT_BACKEND_PATH }}
run: |
ssh staging "$SSH_PATH/stop-service.sh"
rsync -azh ./node_modules/ staging:$SSH_PATH/node_modules/
rsync -azh ./dist/ staging:$SSH_PATH/dist/
rsync -azh --delete ./node_modules/ staging:$SSH_PATH/node_modules/
rsync -azh --delete ./dist/ staging:$SSH_PATH/dist/
ssh staging "$SSH_PATH/start-service.sh"

0 comments on commit 06c6fed

Please sign in to comment.