mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
21 lines
538 B
YAML
21 lines
538 B
YAML
name: "frontend:deploy:docs to github"
|
|
on:
|
|
push:
|
|
branches:
|
|
- 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.GITHUB_TOKEN }}
|
|
#TARGET_REPO: username/repo
|
|
#TARGET_BRANCH: master
|
|
BUILD_SCRIPT: npm install && npm run docs:build
|
|
BUILD_DIR: build/docs/
|
|
VUEPRESS_BASE: "/boilerplate-frontend/" |