Skip to content

Commit dbc71d8

Browse files
committed
Update deploy.yml
1 parent a9fe29e commit dbc71d8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999

100100
- name: Sync www
101101
run: |
102-
rsync -az --copy-links --delete \
103-
steambrew/www/.next steambrew/www/public steambrew/www/package.json steambrew/www/.env steambrew/www/node_modules \
102+
rsync -az --delete \
103+
steambrew/www/.next steambrew/www/public steambrew/www/package.json steambrew/www/.env \
104104
ubuntu@${{ secrets.SSH_HOST }}:~/net/steambrew/www/
105105
106106
- name: Sync docs
@@ -109,6 +109,7 @@ jobs:
109109
steambrew/docs/.vitepress/dist/ \
110110
ubuntu@${{ secrets.SSH_HOST }}:~/net/steambrew/docs/
111111
112-
- name: Swap
112+
- name: Install deps and swap
113113
run: |
114+
ssh ubuntu@${{ secrets.SSH_HOST }} "cd ~/net/steambrew/www && ~/.bun/bin/bun install --production --silent"
114115
ssh ubuntu@${{ secrets.SSH_HOST }} "bash ~/net/steambrew/swap.sh"

0 commit comments

Comments
 (0)