Skip to content

Commit 57c533f

Browse files
committed
feat: add gh pages workflow
1 parent ab05bf0 commit 57c533f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy aixyz GitHub Pages
2+
on:
3+
push:
4+
branches: [main]
5+
jobs:
6+
deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Copy README to docs
11+
run: |
12+
mkdir -p docs
13+
cp packages/aixyz/README.md docs/index.md
14+
- name: Deploy to GitHub Pages
15+
uses: peaceiris/actions-gh-pages@v3
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
publish_dir: ./docs

0 commit comments

Comments
 (0)