From 61a3db619627a648a73c9ea73b5607e28f8588c3 Mon Sep 17 00:00:00 2001 From: Marek Krug Date: Wed, 26 Feb 2025 10:48:17 +0100 Subject: [PATCH] fix github action to make calendar work (allowed execution on schedule and not just on commits or pull requests) --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc1d46a..f9530ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: needs: [ calendar ] runs-on: ubuntu-latest environment: staging - if: github.ref == 'refs/heads/staging' && github.event_name == 'push' + if: (github.ref == 'refs/heads/staging' && github.event_name == 'push') || github.event_name == 'schedule' steps: - name: Download pages uses: actions/download-artifact@v4 @@ -102,7 +102,7 @@ jobs: needs: [ calendar ] runs-on: ubuntu-latest environment: production - if: github.ref == 'refs/heads/production' && github.event_name == 'push' + if: (github.ref == 'refs/heads/production' && github.event_name == 'push') || github.event_name == 'schedule' steps: - name: Download pages uses: actions/download-artifact@v4 @@ -126,3 +126,4 @@ jobs: body: Website production version ${{ env.timestamp }} artifacts: release-production-${{ env.timestamp }}.zip token: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file