Merge pull request #7 from splint3rsec/main #20
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: Upload PDF build | |
on: | |
push: | |
branches: [ "main" ] | |
# pull_request: | |
# branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build LaTeX | |
uses: ./.github/actions/latexmk | |
- name: Upload PDF | |
run: | | |
git config user.name "github" | |
git config user.email "username@users.noreply.github.com" | |
git checkout --orphan build | |
git reset | |
git add -f *.pdf | |
git commit -m "Automatically built via github actions" | |
git push -f origin build |