feat: update workflow for self-hosted runner
Some checks failed
Auto Deploy / build-and-deploy (push) Failing after 13m48s
Some checks failed
Auto Deploy / build-and-deploy (push) Failing after 13m48s
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user