diff --git a/.github/workflows/resume.yml b/.github/workflows/resume.yml index 14d9dd9..8bb713a 100644 --- a/.github/workflows/resume.yml +++ b/.github/workflows/resume.yml @@ -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: @@ -43,13 +43,8 @@ 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 != '' }} @@ -57,9 +52,16 @@ jobs: 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() &&