We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf3b95 commit e218ff8Copy full SHA for e218ff8
assets/scripts/DocsNav.yml
@@ -1,16 +1,12 @@
1
name: Add Navbar
2
3
on:
4
- workflow_run:
5
- workflows: ["Documentation"] # add workflow names that generates docs in this list like `workflows: ["Docs Workflow", "Previews Workflow]`
6
- types:
7
- - completed
+ page_build: # Triggers the workflow on push events to gh-pages branch
8
workflow_dispatch: # Allows manual triggering
9
10
jobs:
11
add-navbar:
12
runs-on: ubuntu-latest
13
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
14
permissions:
15
contents: write
16
steps:
@@ -45,4 +41,4 @@ jobs:
45
41
git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" gh-pages
46
42
else
47
43
echo "No changes to commit"
48
- fi
44
+ fi
0 commit comments