doc: deploy pages

This commit is contained in:
Artemy 2023-08-09 18:11:52 +03:00
parent fa097e4bdd
commit f437be86c7

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

@ -0,0 +1,22 @@
name: Deploy pages
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
name: Deploy pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i
- name: Build pages
run: npm run build
- name: Deploy pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist