add workflow

This commit is contained in:
Zichao Lin 2023-12-16 10:54:19 +08:00
parent 61325b9af3
commit e31548ba24
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

16
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BUILD_SCRIPT: yarn && yarn build
BUILD_DIR: docs/.vuepress/dist
CNAME: https://icode.loliquq.cn