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
|
run: pnpm build
|
||||||
|
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: appleboy/scp-action@master
|
run: |
|
||||||
with:
|
rsync -av --delete dist/ /home/1panel/www/sites/admin.petshy.tashowz.com/index/
|
||||||
host: ${{ secrets.SSH_HOST }}
|
echo "Deployed successfully!"
|
||||||
username: ${{ secrets.SSH_USER }}
|
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
source: "dist/*"
|
|
||||||
target: ${{ secrets.DEPLOY_PATH }}
|
|
||||||
strip_components: 1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user