ci: Skip build job on tag pushes (deploy rebuilds)

This commit is contained in:
user
2026-02-05 23:00:10 +01:00
parent da9859571b
commit 4da0679d4e

View File

@@ -21,6 +21,7 @@ jobs:
build:
name: Build Firmware
needs: [cppcheck, flawfinder, gitleaks]
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
runs-on: anvil
container:
image: docker.io/espressif/idf:v5.3
@@ -87,7 +88,7 @@ jobs:
deploy:
name: Deploy to ESP Fleet
runs-on: anvil
needs: build
needs: [cppcheck, flawfinder, gitleaks]
if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'true' || startsWith(github.ref, 'refs/tags/v')
container:
image: docker.io/espressif/idf:v5.3