diff --git a/.github/workflows/create-resume.yaml b/.github/workflows/create-resume.yaml new file mode 100644 index 0000000..962039d --- /dev/null +++ b/.github/workflows/create-resume.yaml @@ -0,0 +1,25 @@ +name: Check Builds + +on: + push: + paths: + - resume/* + - resume.tex + - awesome-cv.tex + +jobs: + build-resume: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v2 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 + with: + root_file: resume.tex + latexmk_use_xelatex: true + - name: Make Release + uses: softprops/action-gh-release@v1 + with: + files: resume.pdf + body: Automated build for ${{ github.head_ref }}.${{ github.sha }} diff --git a/README.md b/README.md index 1d20d65..fe61835 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ +# CPunch's resume + This resume assumes a full installation of a LaTex environment. Compile and build my resume with the following command: ```sh xelatex resume.tex -``` \ No newline at end of file +``` + +# Release builds + +Each push causes a github action to build & release a copy of my resume on the [releases](/releases) page. \ No newline at end of file