Add image-rendering md cells instead of displaying images from python… #31
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: build_paper | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- paper/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Github Action for LaTeX | |
uses: xu-cheng/latex-action@v2 | |
with: | |
working_directory: ./paper | |
root_file: atlas.tex | |
extra_system_packages: fontawesome5 | |
- name: Move pdf | |
run: | | |
mkdir public | |
ls | |
ls paper | |
mv paper/atlas.pdf public/atlas.pdf | |
ls public | |
- name: Upload PDF | |
uses: actions/upload-artifact@v2 | |
with: | |
name: main.pdf | |
path: public/atlas.pdf # or path/to/artifact | |
# - name: Deploy 🚀 | |
# uses: JamesIves/github-pages-deploy-action@releases/v3 | |
# with: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# BRANCH: gh-pages | |
# FOLDER: public | |
# CLEAN: true |