You've already forked CS-Box
Update .gitea/publish.yml
This commit is contained in:
@@ -1,15 +1,28 @@
|
|||||||
- name: Checkout
|
name: Publish
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: SFTP upload
|
on:
|
||||||
uses: Dylan700/sftp-upload-action@latest
|
workflow_dispatch:
|
||||||
with:
|
push:
|
||||||
server: sagittarius.premium.hostns.io
|
branches: [main]
|
||||||
username: adcmnetworks
|
paths:
|
||||||
key: ${{secrets.key}}
|
- ./export
|
||||||
port: 22
|
|
||||||
uploads: |
|
jobs:
|
||||||
./export => /home/adcmnetworks/csbox
|
publish:
|
||||||
delete: 'true'
|
runs-on: ubuntu-latest
|
||||||
ignore: |
|
steps:
|
||||||
*.git
|
- name: Checkout
|
||||||
*/**/*git*
|
uses: actions/checkout@v4
|
||||||
|
- name: SFTP upload
|
||||||
|
uses: Dylan700/sftp-upload-action@latest
|
||||||
|
with:
|
||||||
|
server: sagittarius.premium.hostns.io
|
||||||
|
username: adcmnetworks
|
||||||
|
key: ${{secrets.key}}
|
||||||
|
port: 22
|
||||||
|
uploads: |
|
||||||
|
./export => /home/adcmnetworks/csbox
|
||||||
|
delete: 'true'
|
||||||
|
ignore: |
|
||||||
|
*.git
|
||||||
|
*/**/*git*
|
||||||
Reference in New Issue
Block a user