debug lines #30
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: compile and host pdf of resume | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "master" branch | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install texlive | |
run: | | |
sudo apt install wget perl-tk | |
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz | |
tar -xf install-tl-unx.tar.gz | |
cd -- "$(find . -maxdepth 1 -name "install-tl-*" -type d -printf '%P' -quit)" | |
sudo ./install-tl | |
cat >> ~/.profile << EOF | |
export PATH=/usr/local/texlive/2021/bin/x86_64-linux:$PATH | |
export INFOPATH=$INFOPATH:/usr/local/texlive/2021/texmf-dist/doc/info | |
export MANPATH=$MANPATH:/usr/local/texlive/2021/texmf-dist/doc/man | |
EOF | |
sudo apt install equivs --no-install-recommends freeglut3 | |
mkdir -p /tmp/tl-equivs && cd /tmp/tl-equivs | |
equivs-control texlive-local | |
equivs-build texlive-local | |
mkdir temp | |
echo "starting" | |
dpkg-deb -R texlive-local_2021-1_all.deb ./temp | |
ls ./temp | |
echo "Debian" | |
ls ./temp/DEBIAN | |
echo "control" | |
ls ./temp/DEBIAN.control | |
echo "file" | |
cat ./temp/DEBIAN/control | |
dpkg-deb -b ./temp peertube_fixed.deb | |
sudo dpkg -i texlive-local_2021-1_all.deb | |
sudo apt install -f | |
- name: complie resume | |
run: pdflatex matthew_oley_resume.tex | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: './matthew_oley_resume.pdf' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |