docs: Tweak script

This commit is contained in:
William 2023-04-21 14:23:58 +01:00
parent 380335b14d
commit 46b93203f7
No known key found for this signature in database
2 changed files with 7 additions and 6 deletions

View File

@ -6,8 +6,7 @@ on:
branches: [ 'master' ]
paths-ignore:
- 'docs/**'
- 'workflows/pr_tests.yml'
- 'workflows/update_docs.yml'
- 'workflows/**'
- 'README.md'
permissions:

View File

@ -3,14 +3,16 @@ name: Update Docs
on:
push:
branches: [ 'master' ]
paths:
- 'docs/**'
- 'workflows/update_docs.yml'
branches:
- master
- 'workflows/**'
tags-ignore:
- '*'
permissions:
contents: read
jobs:
deploy-wiki:
runs-on: ubuntu-latest
@ -21,6 +23,6 @@ jobs:
uses: Andrew-Chen-Wang/github-wiki-action@v3
env:
WIKI_DIR: docs/
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_MAIL: ${{ github.actor }}@users.noreply.github.com
GH_NAME: ${{ github.repository_owner }}