mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
vuepress-deploy workflow
This commit is contained in:
parent
c1515d0493
commit
1391d15653
19
.github/workflows/vuepress-deploy.yml
vendored
Normal file
19
.github/workflows/vuepress-deploy.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Build and Deploy
|
||||||
|
branch: master
|
||||||
|
on: [push]
|
||||||
|
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: yarn && yarn docs:build
|
||||||
|
BUILD_DIR: docs/.vuepress/dist
|
||||||
|
CNAME: https://www.it4c.dev
|
||||||
Loading…
x
Reference in New Issue
Block a user