fix(ci): Renommage secrets pour éviter restriction préfixe FORGEJO_

Forgejo n'autorise pas les noms de secrets commençant par FORGEJO_. Renommés :
- FORGEJO_TOKEN -> GIT_TOKEN
- FORGEJO_REPO_URL -> GIT_REPO_URL
This commit is contained in:
Tellsanguis 2025-11-13 19:41:46 +01:00
parent 1cdc40f96e
commit 9cb0737560
3 changed files with 9 additions and 9 deletions

View file

@ -52,7 +52,7 @@ jobs:
TF_VAR_proxmox_token_id: ${{ secrets.PROXMOX_TOKEN_ID }}
TF_VAR_proxmox_token_secret: ${{ secrets.PROXMOX_TOKEN_SECRET }}
TF_VAR_ssh_public_key: ${{ secrets.SSH_PUBLIC_KEY }}
TF_VAR_forgejo_token: ${{ secrets.FORGEJO_TOKEN }}
TF_VAR_forgejo_token: ${{ secrets.GIT_TOKEN }}
- name: Upload Terraform Plan
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

View file

@ -28,8 +28,8 @@ jobs:
proxmox_token_id = "${{ secrets.PROXMOX_TOKEN_ID }}"
proxmox_token_secret = "${{ secrets.PROXMOX_TOKEN_SECRET }}"
ssh_public_key = "${{ secrets.SSH_PUBLIC_KEY }}"
forgejo_token = "${{ secrets.FORGEJO_TOKEN }}"
forgejo_repo_url = "${{ secrets.FORGEJO_REPO_URL }}"
forgejo_token = "${{ secrets.GIT_TOKEN }}"
forgejo_repo_url = "${{ secrets.GIT_REPO_URL }}"
k3s_version = "v1.28.5+k3s1"
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"
@ -57,8 +57,8 @@ jobs:
proxmox_token_id = "${{ secrets.PROXMOX_TOKEN_ID }}"
proxmox_token_secret = "${{ secrets.PROXMOX_TOKEN_SECRET }}"
ssh_public_key = "${{ secrets.SSH_PUBLIC_KEY }}"
forgejo_token = "${{ secrets.FORGEJO_TOKEN }}"
forgejo_repo_url = "${{ secrets.FORGEJO_REPO_URL }}"
forgejo_token = "${{ secrets.GIT_TOKEN }}"
forgejo_repo_url = "${{ secrets.GIT_REPO_URL }}"
k3s_version = "v1.28.5+k3s1"
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"
@ -86,8 +86,8 @@ jobs:
proxmox_token_id = "${{ secrets.PROXMOX_TOKEN_ID }}"
proxmox_token_secret = "${{ secrets.PROXMOX_TOKEN_SECRET }}"
ssh_public_key = "${{ secrets.SSH_PUBLIC_KEY }}"
forgejo_token = "${{ secrets.FORGEJO_TOKEN }}"
forgejo_repo_url = "${{ secrets.FORGEJO_REPO_URL }}"
forgejo_token = "${{ secrets.GIT_TOKEN }}"
forgejo_repo_url = "${{ secrets.GIT_REPO_URL }}"
k3s_version = "v1.28.5+k3s1"
ubuntu_template = "ubuntu-2404-cloudinit"
storage_pool = "linstor_storage"

View file

@ -40,8 +40,8 @@ jobs:
proxmox_token_id = "${{ secrets.PROXMOX_TOKEN_ID }}"
proxmox_token_secret = "${{ secrets.PROXMOX_TOKEN_SECRET }}"
ssh_public_key = "${{ secrets.SSH_PUBLIC_KEY }}"
forgejo_token = "${{ secrets.FORGEJO_TOKEN }}"
forgejo_repo_url = "${{ secrets.FORGEJO_REPO_URL }}"
forgejo_token = "${{ secrets.GIT_TOKEN }}"
forgejo_repo_url = "${{ secrets.GIT_REPO_URL }}"
EOF
tofu init