From 6e702b3ad38741d7a50bea69723ed08b9a965ee0 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 5 Jul 2024 21:55:02 +0200 Subject: [PATCH] .gitea/workflows/dev.yaml aktualisiert --- .gitea/workflows/dev.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 9aadcba5..6643ddd9 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -1,9 +1,8 @@ -name: website-dev +name: Website Dev on: push: - branches: - - dev + branches: [dev] defaults: run: @@ -13,22 +12,21 @@ jobs: dev-build: if: gitea.repository == 'gcg/gcg-website' runs-on: act-runner-user - timeout-minutes: 5 steps: - - name: pull + - name: Pull run: | git pull git reset --hard origin/dev - - name: build + - name: Build run: | rm -rf dev hugo --minify --gc --baseURL "https://dev.cantorgymnasium.de/" --buildDrafts --buildFuture -d dev - - name: deploy + - name: Deploy run: | cd dev pagefind_extended --site=. rsync -azr --delete ./ /opt/data/webdata/gcg-website-dev/ - - name: notification + - name: Notification uses: actions/telegram-action@main if: always() with: