File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # [.github/workflows/Documentation.yml]
2
+ name : Documentation
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - main
8
+ tags : ' *'
9
+ pull_request :
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - uses : julia-actions/setup-julia@latest
17
+ - name : Install registry
18
+ run : julia -e 'using Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/control-toolbox/ct-registry.git"))'
19
+ - uses : julia-actions/julia-buildpkg@latest
20
+ - name : Install dependencies
21
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
22
+ - name : Build and deploy
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
25
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
26
+ GKSwstype : 100 # To make GitHub Action work, disable showing a plot window with the GR backend of the Plots package
27
+ run : julia --project=docs/ -e 'ENV["GKSwstype"]="nul" ; include("docs/make.jl")'
You can’t perform that action at this time.
0 commit comments