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 d154fed609 - Show all commits

View File

@ -21,3 +21,20 @@ jobs:
run: pnpm install
- name: Build project
run: pnpm run build
- name: Upload build output
uses: actions/upload-artifact@v4
with:
name: nuxt-output
path: .output
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Download build output
uses: actions/download-artifact@v4
with:
name: nuxt-output
path: .output