-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d9e719
commit 7bc7303
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,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() && | ||
|