Files
beautifier-web/.gitea/workflows/ci.yml
T
zzw 5701781b91
CI / build-deploy (push) Successful in 4m48s
feat: CI 流程测试
2026-07-15 17:50:50 +08:00

32 lines
549 B
YAML

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/