mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
deploy docs to github
This commit is contained in:
parent
3bb89e5b4d
commit
aa7bde4ec0
18
.github/workflows/deploy.docs.yml
vendored
Normal file
18
.github/workflows/deploy.docs.yml
vendored
Normal 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/
|
||||||
Loading…
x
Reference in New Issue
Block a user