Files
architecture/legacy/old2/skills/actions-ci.md
Hugo Nijhuis cdfacbac18 Migrate from Claude Code to OpenCode structure
- Move legacy content to legacy/ folder (old, old2, docs, learnings, scripts)
- Create new .opencode/ structure with skills/, tools/, agents/ folders
- Update Makefile to symlink to ~/.config/opencode/ instead of ~/.claude/
- Update Makefile to manage skills, tools, and agents (remove settings.json)
- Simplify install/uninstall (no backup logic)
- Add README.md documenting the new structure
- Keep settings.json as historical reference
2026-05-02 13:41:59 +02:00

46 lines
938 B
Markdown

# Gitea Actions / CI
Commands for debugging CI/Actions workflow failures in Gitea.
## Workflow Runs
```bash
# List workflow runs
tea actions runs # List all workflow runs
tea actions runs -o json # JSON output for parsing
```
## Jobs
```bash
# List jobs for a run
tea actions jobs <run-id> # Show jobs for a specific run
tea actions jobs <run-id> -o json # JSON output
```
## Logs
```bash
# Get job logs
tea actions logs <job-id> # Display logs for a job
```
## Full Workflow: Find Failed Job Logs
```bash
# 1. Find the run ID
tea actions runs
# 2. Find the job ID from that run
tea actions jobs <run-id>
# 3. View the logs
tea actions logs <job-id>
```
## Tips
- Use `-o json` with runs/jobs for programmatic parsing
- Run IDs and Job IDs are shown in the output of the respective commands
- Logs are displayed directly to stdout (can pipe to `grep` or save to file)