File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Render Docs Website
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - pysm/building-docs
7
+
8
+ jobs :
9
+ build-and-deploy :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Setup Julia
17
+ uses : julia-actions/setup-julia@v2
18
+ with :
19
+ version : ' 1.10'
20
+
21
+ - name : Instantiate Julia environment
22
+ run : julia --project=. -e 'using Pkg; Pkg.instantiate()'
23
+
24
+ - name : Set up Quarto
25
+ uses : quarto-dev/quarto-actions/setup@v2
26
+
27
+ - name : Restore cached _freeze folder
28
+ id : cache-restore
29
+ uses : actions/cache/restore@v4
30
+ with :
31
+ path : |
32
+ _freeze/
33
+ key : ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}
34
+
35
+ - name : Render Quarto site
36
+ run : quarto render
37
+
38
+ - name : Save _freeze folder
39
+ id : cache-save
40
+ uses : actions/cache/save@v4
41
+ with :
42
+ path : |
43
+ _freeze/
44
+ key : ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}
45
+
46
+ - name : Deploy to GitHub Pages
47
+ uses : JamesIves/github-pages-deploy-action@v4
48
+ with :
49
+ branch : gh-pages
50
+ folder : _site
51
+ target-folder : pr-previews/497
52
+ clean : false
53
+ commit-message : Manual deploy preview for PR 497
54
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments