diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..dd6e668 --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,20 @@ +name: Test CI + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Hello World + run: | + echo "Hello from Forgejo Actions!" + echo "Runner: $(hostname)" + echo "Repository: ${{ gitea.repository }}" + echo "Branch: ${{ gitea.ref_name }}" diff --git a/README.md b/README.md index 7da378f..61ea208 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ Hooks include: - **TOML**: taplo - **JSON**: prettier +## CI/CD + +This repo uses [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/) for CI/CD. Workflows live in `.forgejo/workflows/` (not `.github/workflows/`). The runner executes jobs in host mode within the Kubernetes cluster. + ## Documentation Detailed documentation lives in my personal zettelkasten, which is not included in this repository. You can view the docs with: