You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB
YAML

2 years ago
name: Build Adventurer's Guide
run-name: ${{ github.actor }} is building Adventurer's Guide
2 years ago
on:
push:
branches:
- main
2 years ago
jobs:
Build-PDF:
2 years ago
runs-on: texlive-2023-04-09
2 years ago
# runs-on: ubuntu-latest
2 years ago
permissions:
contents: read
packages: write
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }}."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
2 years ago
- name: Install node
2 years ago
run: apt-get update && apt-get install -y nodejs
2 years ago
# - name: Install LaTeX packages
# run: tlmgr update --self && tlmgr install cleveref scholax anyfontsize wrapfig framed scholax ly1
2 years ago
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
2 years ago
# - name: Install dependencies
# run: |
# apt-get update && apt-get install -y texlive texlive-fonts-recommended
2 years ago
- name: Build PDF with `latexmk`
2 years ago
run: latexmk -pdf
2 years ago
# - run: echo "GHtoken $GITHUB_TOKEN"
- name: Publish package
run: |
curl --user henine:$GITHUB_TOKEN \
--upload-file "Adventurer's Guide to Savits.pdf" \
2 years ago
https://git.raptorpond.com/api/packages/henine/generic/adventurers_guide/latest/adventurers_guide.pdf