-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
유미라
authored and
유미라
committed
Dec 3, 2024
1 parent
1bc3c39
commit ad9816c
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||