ci: name deploy runs "dry run" or "apply"
Some checks failed
deploy.yaml / ci: name deploy runs "dry run" or "apply" (push) Failing after 0s
Some checks failed
deploy.yaml / ci: name deploy runs "dry run" or "apply" (push) Failing after 0s
Every run was listed as "deploy", so dry runs on Renovate branches looked like deployments. Name each run after what it does and the branch it ran on. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
967ce9e5f6
commit
ba2e3cbde8
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ name: deploy
|
||||||
# Secrets: SSH_DEPLOY_KEY (user deploy on both servers) and
|
# Secrets: SSH_DEPLOY_KEY (user deploy on both servers) and
|
||||||
# ANSIBLE_VAULT_PASSWORD (decrypts inventory/group_vars/all/vault.yaml).
|
# ANSIBLE_VAULT_PASSWORD (decrypts inventory/group_vars/all/vault.yaml).
|
||||||
|
|
||||||
|
run-name: ${{ github.ref == 'refs/heads/main' && 'apply' || 'dry run' }}: ${{ github.ref_name }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue