deploy docs to github

This commit is contained in:
Ulf Gebhardt 2023-11-20 17:04:32 +01:00
parent 3bb89e5b4d
commit aa7bde4ec0
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

18
.github/workflows/deploy.docs.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: "deploy:docs to github"
on: [push]
# TODO: master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
#TARGET_REPO: username/repo
#TARGET_BRANCH: master
BUILD_SCRIPT: npm install && npm docs:build
BUILD_DIR: build/docs/