ars-tools/.gitea/workflows/deploy.yaml
adk23333 dfa18a35a6
Some checks failed
ARS Tools Deploy / build-and-deploy (push) Has been cancelled
修复gitea actions
2023-12-15 17:44:20 +08:00

27 lines
573 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: 获取仓库
uses: actions/checkout@v4
with:
ref: 'main'
- 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