fix(ci): pass scoped TF_STATE_TOKEN to terraform http backend (GITEA_* secret names are reserved)

This commit is contained in:
karpenok committed 2026-11-09 20:31:17 +07:00
1 parent afd7661ee8
commit f4d6e537cc
8 files changed
+18 -4

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
TF_VAR_proxmox_endpoint: ${{ inputs.target == 'netcore' && (secrets.NETCORE_ENDPOINT || 'https://192.168.1.100:8006/') || (secrets.PVE_ENDPOINT || 'https://192.168.1.2:8006/') }}
TF_VAR_proxmox_api_token: ${{ inputs.target == 'netcore' && secrets.NETCORE_API_TOKEN || secrets.PVE_API_TOKEN }}
RUNNER_SSH_KEY: ${{ secrets.RUNNER_SSH_KEY }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN || github.token }}
GITEA_TOKEN: ${{ secrets.TF_STATE_TOKEN }}
run: |
set -eu