feat: update workflow for self-hosted runner
Some checks failed
Auto Deploy / build-and-deploy (push) Failing after 13m48s

This commit is contained in:
2026-03-02 16:08:31 +08:00
parent bbdcef9d56
commit 5c8cb3bc88

View File

@@ -32,11 +32,6 @@ jobs:
run: pnpm build
- name: Deploy to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "dist/*"
target: ${{ secrets.DEPLOY_PATH }}
strip_components: 1
run: |
rsync -av --delete dist/ /home/1panel/www/sites/admin.petshy.tashowz.com/index/
echo "Deployed successfully!"