ci: 为项目添加CI/CD功能 #30

Manually merged
remilia merged 18 commits from ci/gitea-actions into master 2025-09-26 17:14:03 +08:00
Showing only changes of commit ef6877768a - Show all commits

View File

@ -26,7 +26,6 @@ jobs:
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm install
# Nuxt 构建缓存,加快二次构建
- name: Cache Nuxt build
uses: actions/cache@v4
with:
@ -36,7 +35,8 @@ jobs:
${{ runner.os }}-nuxt-
- name: Build project
run: pnpm run build
- name: Rsync build artifact to server
- name: Deploy to server
if: github.ref == 'refs/heads/master'
uses: easingthemes/ssh-deploy@main
with:
ARGS: "-rlgoDzvc -i --delete"