Skip to content

Commit

Permalink
Upload PDF on release
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-wisely-gravwell committed Sep 4, 2024
1 parent d7191fb commit e317514
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Release
name: Upload PDF to Release

on:
push:
tags:
- "v*"
release:
types:
- published

jobs:
training-pdf-builder:
runs-on: ubuntu-latest
name: Build the training PDF and Release
name: Build the training PDF and upload to Release
steps:
- name: Checkout source
uses: actions/checkout@v4
Expand All @@ -30,4 +30,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ github.ref_name }} gravwell_training_${{ github.ref_name }}.pdf --verify-tag --generate-notes
gh release upload ${{ github.ref_name }} gravwell_training_${{ github.ref_name }}.pdf --clobber

0 comments on commit e317514

Please sign in to comment.