File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish master GitHub Pages
2+
3+ on :
4+ push :
5+ schedule :
6+ - cron : ' 0 0 * * *' # This cron expression means "at 00:00 (midnight) UTC, every day"
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ publish-gh-pages :
13+ runs-on :
14+ - ubuntu-latest
15+
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Setup Graphviz
20+ uses : ts-graphviz/setup-graphviz@v2
21+
22+ - name : Set-up OCaml
23+ uses : ocaml/setup-ocaml@v3
24+ with :
25+ ocaml-compiler : 4.14
26+ opam-repositories : |
27+ coq-released: https://coq.inria.fr/opam/released
28+ default: https://github.com/ocaml/opam-repository.git
29+
30+ - name : Build Mathcomp Analysis
31+ run : opam install -y --deps-only . && opam exec -- make -j 4
32+
33+ - name : Install Rocqnavi
34+ run : opam install -y rocq-navi.0.3.1
35+
36+ - name : Generate Documents
37+ run : opam exec -- make html
38+
39+ # Publish GitHub Pages
40+ # Push `gh-pages` branch
41+ - name : Push gh-pages branch
42+ uses : peaceiris/actions-gh-pages@v4
43+ with :
44+ github_token : ${{ secrets.GITHUB_TOKEN }}
45+ publish_dir : ./html
46+ destination_dir : docs/master
47+ # keep_files: true
48+ user_name : github-actions
49+
You can’t perform that action at this time.
0 commit comments