Skip to content

Add workflows to check broken links and deploy papers to GH Pages #10

Add workflows to check broken links and deploy papers to GH Pages

Add workflows to check broken links and deploy papers to GH Pages #10

# This job builds various papers and deploys them to:
# https://intersectmbo.github.io/plutus/resources
name: "📝 Papers & Specs"
on:
pull_request:
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: [self-hosted, plutus-shared]
permissions:
contents: write
environment:
name: github-pages
steps:
- name: Checkout
uses: actions/checkout@main
- name: Build Papers
run: |
TARGETS=(
plutus-report
plutus-core-spec
extended-utxo-spec
unraveling-recursion-paper
system-f-in-agda-paper
eutxo-paper
utxoma-paper
)
mkdir -p _resources
for target in "${TARGETS[@]}"; do
nix build --no-warn-dirty --accept-flake-config .#latex-documents.x86_64-linux.${target}
cp -fr ./result/*.pdf _resources/${target}.pdf
done
- name: Publish Papers
uses: JamesIves/[email protected]
with:
folder: _resources
target-folder: resources
single-commit: true