Merge pull request #13 from gboeing/dependabot/github_actions/actions… #55
This file contains hidden or 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 and Publish PDF | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build_latex: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Build PDF | |
| uses: xu-cheng/latex-action@v4 | |
| with: | |
| root_file: cv-gboeing.tex | |
| - name: Configure AWS credentials | |
| uses: aws-actions/configure-aws-credentials@v5 | |
| with: | |
| role-to-assume: arn:aws:iam::800820568312:role/github-actions-gboeing-cv | |
| aws-region: us-west-2 | |
| - name: Upload PDF to AWS s3 | |
| run: aws s3 cp ./cv-gboeing.pdf s3://cv-gboeing/ |