added workflow to define a product version

This commit is contained in:
nicolo.rossi committed 2026-10-01 11:05:10 +02:00
1 parent a4e7c4f122
commit c45e09e713
2 files changed
+168 -1

No files matched your search

+9 -1
View File
@@ -1,7 +1,9 @@
# ═══════════════════════════════════════════════════════════════════
# Secret richiesti (a livello repo/org, ereditati con `secrets: inherit`):
# DEPLOY_SSH_KEY, MAVEN_USERNAME, MAVEN_PASSWORD
# INFISICAL_CLIENT_ID, INFISICAL_CLIENT_SECRET, INFISICAL_PROJECT_ID
# INFISICAL_CLIENT_ID, INFISICAL_CLIENT_SECRET
# Variables richieste: DEPLOY_USER, DEPLOY_BASE_PATH, DOCKER_REGISTRY,
# INFISICAL_HOST, INFISICAL_PROJECT_ID
#
# INFISICAL: i secret applicativi vengono iniettati a runtime dalla CLI
# infisical installata SUL SERVER di deploy (nessun file di secret viene
@@ -46,6 +48,11 @@ on:
required: false
type: string
default: "180"
ref:
description: "Ref/SHA da deployare (default: il commit che ha avviato il workflow). Usato es. dopo product-version.yml"
required: false
type: string
default: ""
jobs:
deploy:
@@ -59,6 +66,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
submodules: recursive