Update workflow #7
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 CV | |
on: | |
push: {} | |
pull_request: {} | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
compile: | |
name: Compile CV | |
runs-on: ubuntu-latest | |
container: texlive/texlive:latest | |
steps: | |
- uses: actions/checkout@master | |
name: Checkout repository | |
with: | |
fetch-depth: 0 | |
- name: Change ownership | |
run: chown -R $(whoami) . | |
- name: Compile | |
run: xelatex SergeyKambalin.tex | |
- name: Commit changes | |
run: git commit -a -m "Auto-compile CV" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} | |
- uses: actions/upload-artifact@v4 | |
name: Upload CV | |
with: | |
name: SergeyKambalin | |
path: ./SergeyKambalin.pdf |