vuepress-deploy workflow

This commit is contained in:
Ulf Gebhardt 2023-01-03 01:29:25 +01:00
parent c1515d0493
commit 1391d15653
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

19
.github/workflows/vuepress-deploy.yml vendored Normal file
View 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