Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Commit 61a3db6

Browse files
author
Marek Krug
committed
fix github action to make calendar work (allowed execution on schedule and not just on commits or pull requests)
1 parent e5cb1af commit 61a3db6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
needs: [ calendar ]
7575
runs-on: ubuntu-latest
7676
environment: staging
77-
if: github.ref == 'refs/heads/staging' && github.event_name == 'push'
77+
if: (github.ref == 'refs/heads/staging' && github.event_name == 'push') || github.event_name == 'schedule'
7878
steps:
7979
- name: Download pages
8080
uses: actions/download-artifact@v4
@@ -102,7 +102,7 @@ jobs:
102102
needs: [ calendar ]
103103
runs-on: ubuntu-latest
104104
environment: production
105-
if: github.ref == 'refs/heads/production' && github.event_name == 'push'
105+
if: (github.ref == 'refs/heads/production' && github.event_name == 'push') || github.event_name == 'schedule'
106106
steps:
107107
- name: Download pages
108108
uses: actions/download-artifact@v4
@@ -126,3 +126,4 @@ jobs:
126126
body: Website production version ${{ env.timestamp }}
127127
artifacts: release-production-${{ env.timestamp }}.zip
128128
token: ${{ secrets.GITHUB_TOKEN }}
129+

0 commit comments

Comments
 (0)