File tree 2 files changed +42
-0
lines changed
2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy ASCIIDoc site to Pages
2
+ on :
3
+ push :
4
+ branches : ["master"]
5
+ permissions :
6
+ contents : read
7
+ pages : write
8
+ id-token : write
9
+ concurrency :
10
+ group : " pages"
11
+ cancel-in-progress : false
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ name : asciidoctor -D build index.adoc
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Setup Pages
19
+ id : pages
20
+ uses : actions/configure-pages@v5
21
+ - name : Run ASCIIDoc
22
+ id : adocbuild
23
+ uses : tonynv/asciidoctor-action@master
24
+ with :
25
+ program : " asciidoctor -D build index.adoc"
26
+ - name : Print execution time
27
+ run : echo "Time ${{ steps.adocbuild.outputs.time }}"
28
+ - name : Upload artifact
29
+ uses : actions/upload-pages-artifact@v3
30
+ with :
31
+ path : ./build
32
+ deploy :
33
+ environment :
34
+ name : github-pages
35
+ url : ${{ steps.deployment.outputs.page_url }}
36
+ runs-on : ubuntu-latest
37
+ needs : build
38
+ steps :
39
+ - name : Deploy to GitHub Pages
40
+ id : deployment
41
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change
1
+ build
You can’t perform that action at this time.
0 commit comments