Skip to content

Commit

Permalink
Feat: add wiki action (#174)
Browse files Browse the repository at this point in the history
* chore: add wiki folder

* build: add wiki deploy workflow

* build: fix deploy yml file

* build: fix deployment yml file
  • Loading branch information
vn7n24fzkq committed Feb 25, 2024
1 parent 2db2c5d commit b9aa5a9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish wiki

on:
push:
branches: [ 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 }}
Empty file added wiki/.gitkeep
Empty file.
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 b9aa5a9

Please sign in to comment.