Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
andreykaipov committed Mar 19, 2024
1 parent 9d9e719 commit 7bc7303
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/resume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
tectonic_version: 0.15.0
commit_message_resume: "gh-actions: add resume.pdf"
commit_message: "gh-actions: add resume.pdf"

jobs:
build:
Expand Down Expand Up @@ -43,23 +43,25 @@ jobs:
id: build
run: |
./scripts/build.sh
echo "name=${{ env.commit_message_resume }}" >> $GITHUB_OUTPUT
- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: resume # it'll be zipped :(
path: resume.pdf
# TODO: push final pdf to website repo
# TODO: push final pdf to website repo
- name: Push that bitch up
id: push
if: ${{ success() && steps.build.outputs.msg != '' }}
uses: EndBug/[email protected]
with:
add: resume.pdf
push: true
message: ${{ steps.build.outputs.msg }}
message: ${{ env.commit_message }}
author_name: github-actions
author_email: 41898282+github-actions[bot]@users.noreply.github.com

- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: resume # it'll be zipped :(
path: resume.pdf

# - name: Leave a comment
# if: |
# success() &&
Expand Down

0 comments on commit 7bc7303

Please sign in to comment.