You've already forked CS-Box
Update .gitea/workflows/publish.yaml
Some checks failed
Publish to Server / Deploy (push) Failing after 7s
Some checks failed
Publish to Server / Deploy (push) Failing after 7s
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user