ars-tools/.gitea/workflows/deploy.yaml
San Liy fabb82c1b5
Some checks failed
ARS Tools Deploy / build-and-deploy (push) Failing after 55s
更新 .gitea/workflows/deploy.yaml
修改生成脚本版本为4.5.0
2023-12-15 17:39:06 +08:00

23 lines
476 B
YAML

name: ARS Tools Deploy
run-name: ✨${{ gitea.actor }} is deploy ars-tools pages
on:
push:
branches: [ "main" ]
# 允许手动触发
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: node-21
steps:
- name: npm安装依赖
run: npm install
- name: 🔧npm构建
run: vite build
- name: 💪部署
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
folder: dist
branch: gh-pages