From e3022e985cd44bc144a69bec1687a56957a07795 Mon Sep 17 00:00:00 2001 From: Markus Zimmerberger Date: Mon, 24 Aug 2026 19:07:45 +0200 Subject: [PATCH] Add deploy.yml --- .gitea/workflows/deploy.yml | 37 +++++++++++++++++++++++++++++++++++++ index.html | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..5224e63 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,37 @@ +name: Deploy via FTP +on: + push: + branches: [main] + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + # Optional: build step if you have a build process + # - name: Install dependencies + # run: npm ci + # - name: Build + # run: npm run build + + - name: Deploy via FTP + uses: SamKirkland/FTP-Deploy-Action@v4.3.6 + with: + server: ${{ secrets.FTP_SERVER }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + port: ${{ secrets.FTP_PORT || '21' }} + protocol: ${{ secrets.FTP_PROTOCOL || 'ftp' }} + local-dir: ./ # or e.g. ./dist/ or ./public/ + server-dir: ${{ secrets.FTP_SERVER_DIR }} + dangerous-clean-slate: false + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + **/.DS_Store + .gitea/** + .gitea/workflows/** \ No newline at end of file diff --git a/index.html b/index.html index d82f951..b1d0521 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Zisco IT Consulting – Agile Coaching, DevOps & Digital Transformation + zisco IT Consulting – Agile Coaching, DevOps & Digital Transformation