Skip to content

Commit

Permalink
chore(ci): update mkdocs actions (#238)
Browse files Browse the repository at this point in the history
Updates the GitHub Action for Mkdocs to run after a release or on workflow dispatch (manual start) and by default run on the release tag.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
Ryan Johnson authored Oct 2, 2023
1 parent ce79e48 commit 8d02058
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
release:
types: [published]
workflow_dispatch:
permissions:
contents: write
jobs:
Expand All @@ -11,6 +11,7 @@ jobs:
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
ref: ${{ github.event.release.tag_name }}
fetch-depth: 0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
Expand Down

0 comments on commit 8d02058

Please sign in to comment.