mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-10-14 15:53:55 +08:00
Create gh-pages.yml
This commit is contained in:
17
.github/workflows/gh-pages.yml
vendored
Normal file
17
.github/workflows/gh-pages.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: github pages
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run docs:build
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./docs-dist
|
Reference in New Issue
Block a user