Skip to content

Commit e218ff8

Browse files
authored
Update DocsNav.yml
1 parent adf3b95 commit e218ff8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

assets/scripts/DocsNav.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: Add Navbar
22

33
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
4+
page_build: # Triggers the workflow on push events to gh-pages branch
85
workflow_dispatch: # Allows manual triggering
96

107
jobs:
118
add-navbar:
129
runs-on: ubuntu-latest
13-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1410
permissions:
1511
contents: write
1612
steps:
@@ -45,4 +41,4 @@ jobs:
4541
git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" gh-pages
4642
else
4743
echo "No changes to commit"
48-
fi
44+
fi

0 commit comments

Comments
 (0)