上传deploy action

This commit is contained in:
2025-02-20 22:38:44 +08:00
parent 5d3803ca1b
commit 5f746d4ffa
2 changed files with 18 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and Deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: thejinchao/thejinchao.github.io
TARGET_BRANCH: gh_pages
BUILD_SCRIPT: yarn && yarn build
BUILD_DIR: docs/.vuepress/dist/
+1
View File
@@ -0,0 +1 @@
/node_modules