docs: Update update_docs.yml

This commit is contained in:
William 2023-04-21 14:19:38 +01:00 committed by GitHub
parent 380335b14d
commit bed49aef64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,14 +3,16 @@ name: Update Docs
on:
push:
branches: [ 'master' ]
paths:
- 'docs/**'
- 'workflows/update_docs.yml'
branches:
- master
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 }}