Skip to content

Commit

Permalink
Create deploy-wiki.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
babsonnexus authored Feb 22, 2025
1 parent 2f3b481 commit 6d341c2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy Wiki to GitHub Pages

on:
push:
branches:
- main
paths:
- 'wiki/**'

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Convert Wiki to HTML
run: |
mkdir -p public
cp -r wiki/* public/
# Add any additional conversion steps if needed
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 6d341c2

Please sign in to comment.