From ed3cb6271950c3ec3fcb74c34afb799b37e9f480 Mon Sep 17 00:00:00 2001 From: mesbah tanvir Date: Sat, 14 Aug 2021 09:26:52 +0800 Subject: [PATCH] add git action for generating epub and upload artifacts --- .github/workflows/generate-epub.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/generate-epub.yml diff --git a/.github/workflows/generate-epub.yml b/.github/workflows/generate-epub.yml new file mode 100644 index 00000000..10cd7637 --- /dev/null +++ b/.github/workflows/generate-epub.yml @@ -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