Create wiki_action_2.yml

pull/90/head
Abdullah Alfaraj 2023-02-05 18:49:07 +03:00 committed by GitHub
parent 3ea16550fe
commit d788b37c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

27
.github/workflows/wiki_action_2.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Deploy Wiki
on:
push:
paths:
# Trigger only when wiki directory changes
- 'docs/**'
branches:
# And only on master branch
- master
jobs:
deploy-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Push Wiki Changes
uses: Andrew-Chen-Wang/github-wiki-action@v3
env:
# Make sure you have that / at the end. We use rsync
# WIKI_DIR's default is wiki/
WIKI_DIR: docs/
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_MAIL: ${{ secrets.YOUR_EMAIL }}
GH_NAME: ${{ github.repository_owner }}
EXCLUDED_FILES: "a/ b.md"