File tree Expand file tree Collapse file tree 2 files changed +29
-22
lines changed Expand file tree Collapse file tree 2 files changed +29
-22
lines changed Original file line number Diff line number Diff line change 4242 with :
4343 file : lcov.info
4444 token : ${{ secrets.CODECOV_TOKEN }}
45- docs :
46- name : Documentation
47- runs-on : ubuntu-latest
48- env :
49- # Fix for Plots with GR backend, see https://github.com/jheinen/GR.jl/issues/422
50- GKSwstype : nul
51- steps :
52- - uses : actions/checkout@v4
53- - uses : julia-actions/setup-julia@v2
54- with :
55- version : ' 1'
56- - name : Install dependencies
57- shell : julia --color=yes --project=docs/ {0}
58- run : |
59- using Pkg
60- Pkg.develop(PackageSpec(path=pwd()))
61- Pkg.instantiate()
62- - run : julia --project=docs --color=yes docs/make.jl
63- env :
64- DATADEPS_ALWAYS_ACCEPT : true # For MLDatasets.MNIST
65- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 1+ name : Documentation
2+ on :
3+ push :
4+ branches : [master]
5+ tags : ' *'
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+ permissions :
9+ pull-requests : read # Required when using `push_preview=true`
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : julia-actions/setup-julia@v2
16+ with :
17+ version : ' 1'
18+ - name : Install dependencies
19+ shell : julia --color=yes --project=docs/ {0}
20+ run : |
21+ using Pkg
22+ Pkg.develop(PackageSpec(path=pwd()))
23+ Pkg.instantiate()
24+ - name : Build and deploy
25+ run : julia --project=docs --color=yes docs/make.jl
26+ env :
27+ DATADEPS_ALWAYS_ACCEPT : true # For MLDatasets.MNIST
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments