Fix deploy:production job syntax - move 'when' before 'only'

This commit is contained in:
2025-09-30 17:46:59 +01:00
parent 2e5fabe54b
commit fff0641406

View File

@@ -163,16 +163,16 @@ deploy:production:
stage: deploy stage: deploy
script: script:
- echo "Deploying to production..." - echo "Deploying to production..."
- echo "Release APK: app/build/outputs/apk/release/app-release-unsigned.apk" - echo "Release APK app/build/outputs/apk/release/app-release-unsigned.apk"
- echo "Creating release tag..." - echo "Creating release tag..."
dependencies: dependencies:
- build:release - build:release
environment: environment:
name: production name: production
url: https://gitlab.silverlabs.uk/${CI_PROJECT_PATH}/-/releases url: https://gitlab.silverlabs.uk/${CI_PROJECT_PATH}/-/releases
when: manual
only: only:
- tags - tags
when: manual
# =========================== # ===========================
# Additional Jobs # Additional Jobs