Skip to content

Commit

Permalink
build: add wiki deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vn7n24fzkq committed Feb 25, 2024
1 parent 189e12c commit bc4e5b9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish-wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish wiki

on:
push: branches-ignore: [ master ]
paths:
- wiki/**
- .github/workflows/publish-wiki.yml

concurrency:
group: publish-wiki
cancel-in-progress: true

permissions:
contents: write

jobs:
publish-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Andrew-Chen-Wang/github-wiki-action@v4
with:
token: ${{ secrets.REPO_WIKI_WRITE_TOKEN }}
1 change: 1 addition & 0 deletions wiki/Home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a Home page.

0 comments on commit bc4e5b9

Please sign in to comment.