Update .gitea/workflows/publish.yaml

This commit is contained in:
2025-11-08 18:18:23 +00:00
parent e7443b8ef1
commit a1b83f28f0

View File

@@ -0,0 +1,29 @@
name: Publish
run-name: ${{ gitea.actor }} is publishing your site using Gitea Actions 🚀
on:
workflow_dispatch:
push:
branches: [main]
paths:
- ./export
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SFTP upload
uses: Dylan700/sftp-upload-action@v1.2.3
with:
server: sagittarius.premium.hostns.io
username: adcmnetworks
key: ${{secrets.key}}
port: 22
uploads: |
./export => /home/adcmnetworks/csbox
delete: 'true'
ignore: |
*.git
*/**/*git*