Skip to content

Commit

Permalink
Deploying to gh-pages from @ 502794e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaan committed Aug 9, 2024
0 parents commit 8862718
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy PDF

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
- name: Copy
run: |
mkdir out
cp ./main.pdf ./out/main.pdf
- uses: actions/upload-artifact@v2
with:
name: main
path: out/main.pdf
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages
CLEAN: true
SINGLE_COMMIT: true
FOLDER: out
GIT_CONFIG_NAME: joshuaan
GIT_CONFIG_EMAIL: [email protected]
Binary file added main.pdf
Binary file not shown.

0 comments on commit 8862718

Please sign in to comment.