feat: ci 流程测试

This commit is contained in:
zzw
2026-07-15 17:48:41 +08:00
parent 17085b78ff
commit 5723bc634a
70 changed files with 37 additions and 536 deletions
+31
View File
@@ -0,0 +1,31 @@
name: CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-deploy:
runs-on: runner
defaults:
run:
shell: sh
steps:
- name: Checkout
uses: https://git.ailuowan.com/deploy/checkout@v4
- name: Install
run: npm install --ignore-scripts
- name: Build
run: npm run build:development
- name: Deploy
run: |
mkdir -p /data/www/beautifier-web
rm -rf /data/www/beautifier-web/*
cp -r dist/. /data/www/beautifier-web/