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 49998f0 commit 5e37af9Copy full SHA for 5e37af9
.github/workflows/main.yml
@@ -4,6 +4,11 @@ on:
4
branches:
5
- master
6
pull_request:
7
+ # Allow rebuilding/redeploying the web manually
8
+ workflow_dispatch:
9
+ schedule:
10
+ # Rebuild the web periodically at 22:00 UTC to update team API contents and Rust version
11
+ - cron: '0 22 * * *'
12
env:
13
RUST_BACKTRACE: 1
14
jobs:
@@ -44,7 +49,7 @@ jobs:
44
49
45
50
deploy:
46
51
needs: [ build ]
47
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
52
+ if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
48
53
environment:
54
name: github-pages
55
permissions:
0 commit comments