You've already forked CS-Box
Update .gitea/workflows/publish.yaml
All checks were successful
Publish to Server / Deploy (push) Successful in 16s
All checks were successful
Publish to Server / Deploy (push) Successful in 16s
This commit is contained in:
@@ -14,13 +14,20 @@ jobs:
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
- name: Copy files via SSH
|
uses: actions/checkout@v3
|
||||||
uses: appleboy/scp-action@v1
|
|
||||||
|
- name: SFTP upload
|
||||||
|
uses: Dylan700/sftp-upload-action@latest
|
||||||
with:
|
with:
|
||||||
host: ${{ vars.SSH_HOST }}
|
server: ${{ vars.SSH_HOST }}
|
||||||
username: ${{ vars.SSH_USERNAME }}
|
username: ${{ vars.SSH_USERNAME }}
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
passphrase: ${{ secrets.KEY_PASSWORD }}
|
||||||
source: ${{ vars.GIT_FOLDER }}
|
port: 22
|
||||||
target: ${{ vars.SSH_FOLDER }}
|
uploads: |
|
||||||
|
. => ${{ vars.SSH_FOLDER }}
|
||||||
|
delete: 'true'
|
||||||
|
ignore: |
|
||||||
|
*.git
|
||||||
|
*/**/*git*
|
||||||
Reference in New Issue
Block a user