Skip to content

Commit

Permalink
Fix mkdocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanAntoni committed Dec 17, 2024
1 parent ad4abd1 commit 6336206
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths:
- '.github/workflows/mkdocs.yml'
- 'docs/**/*'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -45,8 +46,9 @@ jobs:
path: site/

publish:
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout cmsis-toolbox
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -59,7 +61,6 @@ jobs:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: docs
path: .

- name: Commit new content
run: |
Expand Down

0 comments on commit 6336206

Please sign in to comment.