Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Oct 11, 2024
1 parent 44af7bb commit bda0167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build with VitePress
run: |
pnpm run build
scp -i /tmp/test.pem -P ~/.ssh/id_rsa -r .vitepress/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SERVER_HOST }}:/opt/www/doc-v3/
scp -i ~/.ssh/id_rsa -P ${{ secrets.SERVER_PORT }} -r .vitepress/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SERVER_HOST }}:/opt/www/doc-v3/
if [ $? -ne 0 ]; then
echo "Upload failed"
exit 1
Expand Down

0 comments on commit bda0167

Please sign in to comment.