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

Update sync-push.yml #12

Update sync-push.yml

Update sync-push.yml #12

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: [18.x]
steps:
- name: 环境初始化
uses: actions/setup-node@v2
- name: yarn安装
run: yarn install
- 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: yarn && yarn build
BUILD_DIR: docs/.vuepress/dist/
COMMIT_MESSAGE: Auto Deploy Success
CNAME: dailynotes.top