ars-tools/.gitea/workflows/deploy.yaml
adk23333 df64c866da
Some checks failed
ARS Tools Deploy / build-and-deploy (push) Failing after 1m15s
添加gitea actions
2023-12-15 17:07:49 +08:00

23 lines
479 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
with:
folder: dist
branch: gh-pages