fix: CI workflow now triggers on push to main, clean checkout

The workflow was workflow_dispatch ONLY — pushes never triggered builds.
Every ISO was built from whatever commit was current when someone
manually triggered the workflow from Gitea UI.

Changes:
- Add on.push.branches: [main] trigger
- Set clean: true on checkout to prevent stale cached code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-04-01 14:49:38 +01:00
parent dad184cfc6
commit 426cb7e49e

View File

@ -1,6 +1,8 @@
name: Build Archipelago ISO name: Build Archipelago ISO
on: on:
push:
branches: [main]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -12,7 +14,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
clean: false clean: true
- name: Build backend - name: Build backend
run: | run: |