Skip to content

Commit

Permalink
Fix mkdocs workflow (Open-CMSIS-Pack#243)
Browse files Browse the repository at this point in the history
## Fixes
<!-- List the issue(s) this PR resolves -->

-

## Changes
<!-- List the changes this PR introduces -->

-

## Checklist
<!-- Put an `x` in the boxes. All tasks must be completed and boxes
checked before merging. -->

- [ ] 🤖 This change is covered by unit tests as required.
- [ ] 🤹 All required manual testing has been performed.
- [ ] 🛡️ Security impacts have been considered.
- [ ] 📖 All documentation updates are complete.
- [ ] 🧠 This change does not change third-party dependencies
  • Loading branch information
JonatanAntoni authored Dec 17, 2024
1 parent ad4abd1 commit 654148e
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 654148e

Please sign in to comment.