Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

Update sync-push.yml #8

Update sync-push.yml

Update sync-push.yml #8

Workflow file for this run

name: CheckPush-Website
on:
push:
branches:
- master
paths-ignore:
- README.md
- LICENSE
- .github/*
- .gitattributes
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: 环境初始化
uses: actions/setup-node@v2
with:
node-version: 20 # node版本
cache: "pnpm"
- name: 验证
uses: actions/checkout@v2
with:
node-version: $
- name: 构建测试
uses: jenkey2011/vuepress-deploy@master
with:
node-version: $
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: HaoduStudio/website
TARGET_BRANCH: master
BUILD_SCRIPT: pnpm && pnpm build
BUILD_DIR: docs/.vuepress/dist/
COMMIT_MESSAGE: Auto Deploy Success
CNAME: dailynotes.top