ci: quote the deploy run-name
All checks were successful
deploy / ansible (push) Successful in 4m25s
All checks were successful
deploy / ansible (push) Successful in 4m25s
The unquoted value contains ": ", which YAML reads as a nested mapping, so Forgejo rejected the whole workflow and the last two pushes ran nothing. Quote it. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
858be6a0ef
commit
38a96497ca
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ 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 }}
|
run-name: "${{ github.ref == 'refs/heads/main' && 'apply' || 'dry run' }}: ${{ github.ref_name }}"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue