Skip to content

Commit

Permalink
fix: Upload to Remote Server
Browse files Browse the repository at this point in the history
  • Loading branch information
유미라 authored and 유미라 committed Dec 3, 2024
1 parent 1bc3c39 commit ad9816c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/client-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ jobs:
working-directory: ./client
run: pnpm build

- name: Upload to Remote Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: mira
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: ./client/dist/
target: /home/mira/web30-stop-troublepainter/client/dist/

- name: Deploy to Server
uses: appleboy/[email protected]
with:
Expand All @@ -51,5 +60,5 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /home/mira/web30-stop-troublepainter
docker cp ./client/dist/. troublepainter_nginx:/usr/share/nginx/html
docker cp /home/mira/web30-stop-troublepainter/client/dist/. troublepainter_nginx:/usr/share/nginx/html

0 comments on commit ad9816c

Please sign in to comment.