Skip to content

Update workflow

Update workflow #4

Workflow file for this run

name: Build PDF
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Docker image
run: docker build -t custom-pandoc-latex .
- name: Generate PDF with Pandoc
run: docker run --rm --volume "${{ github.workspace }}:/data" --user `id -u`:`id -g` custom-pandoc-latex doc.md -o doc.pdf --template=/data/template.tex
- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: Whitepaper
path: doc.pdf