Update .gitea/workflows/publish.yaml
Some checks failed
Publish to Server / Deploy (push) Failing after 7s

This commit is contained in:
2025-11-08 18:54:30 +00:00
parent 6b2e073c6b
commit 9087109efb

View File

@@ -14,19 +14,13 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: SFTP upload
uses: Dylan700/sftp-upload-action@latest
- uses: actions/checkout@v4
- name: Copy files via SSH
uses: appleboy/scp-action@v1
with:
server: ${{ vars.SSH_HOST }}
host: ${{ vars.SSH_HOST }}
username: ${{ vars.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
uploads: |
${{ vars.GIT_FOLDER }} => ${{ vars.SSH_FOLDER }}
delete: 'true'
ignore: |
*.git
*/**/*git*
port: ${{ secrets.PORT }}
source: ${{ vars.GIT_FOLDER }}
target: ${{ vars.SSH_FOLDER }}