Redo membership #5
Workflow file for this run
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: Release Constitution PDF | |
run-name: ${{ github.event.pull_request.title }} | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
Release-PDF: | |
name: Build & Release PDF | |
if: github.event.pull_request.merged == true | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install Latexmk | |
run: sudo apt-get install -y latexmk texlive-latex-base texlive-latex-extra | |
- name: Generate PDF document | |
run: make build | |
- name: Upload & Release PDF | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "${{ github.event.repository.updated_at}}" | |
files: ./out/constitution.pdf |