Update resume.tex #13
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 PDF and Commit | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and Run Docker Container | |
run: | | |
docker build -t my-pdf-generator . | |
docker run -v $(pwd):/usr/src/app my-pdf-generator | |
working-directory: ${{ github.workspace }} | |
- name: Commit PDF to Git | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "Andrii S" | |
git add AndriiSemko.pdf | |
git commit -m "Update PDF" | |
git push | |
env: | |
GIT_AUTHOR_NAME: Andrii S | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: Andrii S | |
GIT_COMMITTER_EMAIL: [email protected] |