Skip to content

Commit 69b8f76

Browse files
committed
support deploy
1 parent d6c1627 commit 69b8f76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
2727
- name: Package
2828
run: |
29-
tar -zczf build.tar.gz build
29+
cd build
30+
tar -zcvf build.tar.gz *
3031
- name: Deploy
3132
run: |
3233
scp -r build.tar.gz ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_PATH }}

0 commit comments

Comments
 (0)