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
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v3
|
- name: Copy files via SSH
|
||||||
|
uses: appleboy/scp-action@v1
|
||||||
- name: SFTP upload
|
|
||||||
uses: Dylan700/sftp-upload-action@latest
|
|
||||||
with:
|
with:
|
||||||
server: ${{ vars.SSH_HOST }}
|
host: ${{ vars.SSH_HOST }}
|
||||||
username: ${{ vars.SSH_USERNAME }}
|
username: ${{ vars.SSH_USERNAME }}
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
port: 22
|
port: ${{ secrets.PORT }}
|
||||||
uploads: |
|
source: ${{ vars.GIT_FOLDER }}
|
||||||
${{ vars.GIT_FOLDER }} => ${{ vars.SSH_FOLDER }}
|
target: ${{ vars.SSH_FOLDER }}
|
||||||
delete: 'true'
|
|
||||||
ignore: |
|
|
||||||
*.git
|
|
||||||
*/**/*git*
|
|
||||||
Reference in New Issue
Block a user