This repository was archived by the owner on Mar 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 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
9090 filename : ../release-staging-${{ env.timestamp }}.zip
9191 directory : public
9292 - name : Create Release
93- uses : ncipollo/release-action@v1.15 .0
93+ uses : ncipollo/release-action@v1.16 .0
9494 with :
9595 tag : staging-${{ env.timestamp }}
9696 name : Website staging version ${{ env.timestamp }}
@@ -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
@@ -118,11 +118,12 @@ jobs:
118118 filename : ../release-production-${{ env.timestamp }}.zip
119119 directory : public
120120 - name : Create Release
121- uses : ncipollo/release-action@v1.15 .0
121+ uses : ncipollo/release-action@v1.16 .0
122122 with :
123123 makeLatest : true
124124 tag : production-${{ env.timestamp }}
125125 name : Website production version ${{ env.timestamp }}
126126 body : Website production version ${{ env.timestamp }}
127127 artifacts : release-production-${{ env.timestamp }}.zip
128128 token : ${{ secrets.GITHUB_TOKEN }}
129+
You can’t perform that action at this time.
0 commit comments