Skip to content

Commit

Permalink
Release rendered pdfs on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Feb 19, 2024
1 parent 393cabb commit b2fa2fc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Render

on:
workflow_dispatch:
push:
branches: main
tags:
- v*

permissions:
contents: write
Expand Down Expand Up @@ -36,3 +36,12 @@ jobs:
path: _book
if-no-files-found: error
retention-days: 7

- name: Create Release
uses: softprops/action-gh-release@v1
with:
prerelease: false
generate_release_notes: true
fail_on_unmatched_files: true
files: |
./_book/*.pdf

0 comments on commit b2fa2fc

Please sign in to comment.