Skip to content

Commit 0ea550c

Browse files
committedJan 22, 2022
test release pdf epub mobi
1 parent 427f8a7 commit 0ea550c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎.github/workflows/releace.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ jobs:
3434
book sm
3535
ln -s -f SUMMARY.md README.md
3636
gitbook pdf
37+
gitbook epub
38+
gitbook mobi
3739
mkdir -p path/to/artifact
3840
cp book.pdf path/to/artifact
41+
cp book.epub path/to/artifact
42+
cp book.mobi path/to/artifact
3943
4044
- name: Upload file
4145
uses: actions/upload-artifact@v2
@@ -61,6 +65,10 @@ jobs:
6165
uses: softprops/action-gh-release@v1
6266
if: startsWith(github.ref, 'refs/tags/')
6367
with:
64-
files: path/to/artifact/book.pdf
68+
files: |
69+
path/to/artifact/book.pdf
70+
path/to/artifact/book.epub
71+
path/to/artifact/book.mobi
72+
LICENSE
6573
env:
6674
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)