forked from public-mirrors/HuskSync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
568 B
YAML
27 lines
568 B
YAML
name: Update Docs
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master' ]
|
|
paths:
|
|
- 'docs/**'
|
|
- 'workflows/**'
|
|
tags-ignore:
|
|
- '*'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy-wiki:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout for CI 🛎️'
|
|
uses: actions/checkout@v4
|
|
- name: 'Push Docs to Github Wiki 📄️'
|
|
uses: Andrew-Chen-Wang/github-wiki-action@v3
|
|
env:
|
|
WIKI_DIR: 'docs/'
|
|
GH_TOKEN: ${{ github.token }}
|
|
GH_MAIL: 'actions@github.com'
|
|
GH_NAME: 'github-actions[bot]' |