Documentation: Add missing copy instruction #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
# Run only if Documentation/ subdir was changed | |
push: | |
paths: | |
- 'Documentation/**' | |
# Enable manual trigger | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y texlive-xetex pandoc make | |
- name: Install Fonts | |
run: | | |
mkdir -p ~/.local/share/fonts | |
cp Documentation/fonts/* ~/.local/share/fonts | |
fc-cache -f -v | |
- name: Build Book | |
run: | | |
cd Documentation | |
make | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: book.zip | |
path: Documentation/vmp-documentation.pdf |