add git action for generating epub and upload artifacts

This commit is contained in:
mesbah tanvir 2021-08-14 09:26:52 +08:00
parent 4e70c54a5b
commit ed3cb62719
1 changed files with 18 additions and 0 deletions

18
.github/workflows/generate-epub.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Generate Epub
on: [push,pull_request]
jobs:
generate-epub:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Installing Pandoc
run: sudo apt-get install pandoc
- name: Generating Epub
run: ./generate-epub.sh
shell: bash
- name: Uploading Artifact
uses: actions/upload-artifact@v2
with:
name: system-design-primer-epubs
path: ./*.epub