We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 519b8d5 commit c7e1de5Copy full SHA for c7e1de5
.github/workflows/frontend.yml
@@ -1,5 +1,9 @@
1
name: Build frontend
2
-on: [push, pull_request]
+on:
3
+ push:
4
+ pull_request:
5
+ schedule:
6
+ - cron: '18 4 * * *'
7
8
jobs:
9
build-and-deploy-if-main:
@@ -51,7 +55,7 @@ jobs:
51
55
52
56
- name: Deploy
53
57
uses: JamesIves/[email protected]
54
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
58
+ if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'schedule')
59
with:
60
token: ${{ secrets.GITHUB_TOKEN }}
61
branch: gh-pages
0 commit comments