diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..2503cfc --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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..." diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1bdfca8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/.idea +/.claude +/CLAUDE.md +/AGENTS.md