File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ concurrency :
15
+ group : " pages"
16
+ cancel-in-progress : false
17
+
18
+ jobs :
19
+ deploy :
20
+ runs-on : ubuntu-latest
21
+ environment :
22
+ name : github-pages
23
+ url : ${{ steps.deployment.outputs.page_url }}
24
+ env :
25
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
26
+ GH_TOKEN : ${{ github.token }}
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+
30
+ - uses : quarto-dev/quarto-actions/setup@v2
31
+ with :
32
+ version : pre-release
33
+ tinytex : true
34
+
35
+ - name : Render Quarto Project
36
+ shell : bash
37
+ run : |
38
+ quarto render example.qmd --to html --output index.html --output-dir _site
39
+
40
+ - uses : actions/configure-pages@v5
41
+
42
+ - uses : actions/upload-pages-artifact@v3
43
+ with :
44
+ path : ' _site'
45
+
46
+ - name : Deploy to GitHub Pages
47
+ id : deployment
48
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments