File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
entrypoint : /usr/local/bin/pandoc
31
31
args : ' --to html5+smart -o out/html/black-book.html --section-divs --toc --standalone --template=html/template.html ${{ steps.files.outputs.input_files }}'
32
+ - name : rename index
33
+ run : mv out/html/black-book.html out/html/index.html
32
34
- uses : actions/upload-artifact@v2
33
35
with :
34
36
path : out
67
69
needs : [html, ebooks]
68
70
69
71
steps :
72
+ - uses : actions/checkout@v2
73
+
70
74
- uses : actions/download-artifact@v2
71
75
with :
72
76
path : out
75
79
run : tar -czf ../html.tar.gz .
76
80
working-directory : out/artifact/html
77
81
78
- - name : Release
82
+ - name : Create release
79
83
uses : softprops/action-gh-release@v1
80
84
with :
81
85
token : ' ${{ secrets.GITHUB_TOKEN }}'
87
91
out/artifact/black-book.epub
88
92
out/artifact/black-book.mobi
89
93
out/artifact/html.tar.gz
94
+
95
+ - name : Deploy GitHub Pages
96
+ uses : JamesIves/github-pages-deploy-action@v4.2.5
97
+ with :
98
+ branch : gh-pages
99
+ folder : out/artifact/html
You can’t perform that action at this time.
0 commit comments