Add VuePress site

This commit is contained in:
Mykola Grymalyuk
2021-03-11 11:55:16 -07:00
parent 13d1110b7a
commit 0ad2fb53d2
20 changed files with 13233 additions and 6 deletions

33
.github/workflows/build_test_deploy.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Build/Test/Deploy
on:
push:
branches-ignore:
- gh-pages
workflow_dispatch:
pull_request:
jobs:
build:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: '0'
persist-credentials: false
submodules: 'recursive'
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: /docs/.vuepress/dist/
CLEAN: true