.gitea/workflows/publish.yml gelöscht
Website / Website veröffentlichen (push) Failing after 13m35s

This commit is contained in:
fte
2026-07-28 17:59:00 +02:00
parent 38df9f4a96
commit 86d5707cb3
-37
View File
@@ -1,37 +0,0 @@
name: Website
on:
push:
branches: [main]
defaults:
run:
working-directory: /opt/runner/workdir/FTE-Homepage
jobs:
publish:
name: Website veröffentlichen
if: gitea.repository == 'fte/FTE-Homepage'
runs-on: act-runner
steps:
- name: Pull
run: |
git fetch --all
git reset --hard origin/main
- name: NPM install
run: |
npm i
- name: Build
run: |
rm -rf public
hugo --minify --gc
- name: Deploy
run: |
cd public
rsync -azr --delete ./ /var/www/html/www.ftecke.de/
# - name: Notification
# uses: actions/telegram-action@main
# if: always()
# with:
# chat_id: ${{ secrets.TG_CHAT_ID }}
# token: ${{ secrets.TG_TOKEN }}