ci: quote the deploy run-name
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:
Sergei Poljanski 2026-11-12 23:24:54 +04:00
commit 38a96497ca
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -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: