test dev branch
Some checks failed
CI/CD Test / build-deploy (pull_request) Has been cancelled

This commit is contained in:
Timi
2026-01-17 10:04:56 +08:00
parent fb7574a88a
commit beea2c49c2
2 changed files with 36 additions and 0 deletions

32
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,32 @@
name: CI/CD Test
on:
push:
branches:
- master
pull_request:
branches:
- master
types:
- closed
jobs:
build-deploy:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.merged == true }}
steps:
- name: Set up environment
run: |
echo "PR #${{ github.event.number }} merged into master"
echo "Source branch: ${{ github.event.pull_request.head.ref }}"
echo "Target branch: ${{ github.event.pull_request.base.ref }}"
- name: Run tests
run: |
echo "Running test suite..."
- name: Build project
run: |
echo "Building project..."
- name: Deploy
if: success()
run: |
echo "Deploying to production..."

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/.idea
/.claude
/CLAUDE.md
/AGENTS.md