Skip to content

简化版CICD测试 #64

简化版CICD测试

简化版CICD测试 #64

Workflow file for this run

name: todoList 自动部署
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.X
- run: npm install
- run: npm run build
- name: action-Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DEPLOY_SECRET }}
BRANCH: gh-pages
publish_dir: ./dist
commit_message: 简化版-自动部署(cicd) # 部署时的 git 提交信息,自由填写