Rename gh-pages.yml.back to gh-pages.yml

This commit is contained in:
xrkffgg
2023-03-07 16:55:24 +08:00
committed by GitHub
parent ecbe084012
commit 5586509e90

22
.github/workflows/gh-pages.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- run: yarn
- run: npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-dist