From 993cadbb501e10de62c221fc35dcd6895516a5d9 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 22 Sep 2024 19:18:07 +0200 Subject: [PATCH] .gitea/workflows/build.yaml aktualisiert --- .gitea/workflows/build.yaml | 42 ++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c059b85..f48ca3c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,24 +1,18 @@ -name: website - -on: - push: - branches: - - main - -concurrency: - group: ${{ gitea.workflow }}-${{ gitea.ref }} - cancel-in-progress: true - -jobs: - prod-build: - runs-on: act-runner - timeout-minutes: 5 - steps: - - name: clone - uses: actions/checkout@v4 - - name: build - run: hugo --minify --gc --baseURL "https://denyskon.de/" - - name: deploy - run: | - cd public - rsync -azr --delete ./ /var/www/html/ \ No newline at end of file +name: Website Prod + +on: + push: [main] + +jobs: + prod-build: + runs-on: act-runner + timeout-minutes: 5 + steps: + - name: clone + uses: actions/checkout@v4 + - name: build + run: hugo --minify --gc --baseURL "https://denyskon.de/" + - name: deploy + run: | + cd public + rsync -azr --delete ./ /opt/data/webdata/ \ No newline at end of file