diff --git a/.gitea/workflows/deploy-infrastructure.yml b/.gitea/workflows/deploy-infrastructure.yml index 6018871..78e31dc 100644 --- a/.gitea/workflows/deploy-infrastructure.yml +++ b/.gitea/workflows/deploy-infrastructure.yml @@ -10,7 +10,7 @@ on: PROXMOX_VE_API_TOKEN: description: "The API token for Proxmox authentication" required: true - GITEA_TOKEN: + INFRASTRUCTURE_TOKEN: description: "Gitea Auth Token" required: true @@ -30,14 +30,14 @@ jobs: TF_HTTP_LOCK_METHOD: "POST" TF_HTTP_UNLOCK_METHOD: "DELETE" TF_HTTP_USERNAME: ${{ gitea.actor }} - TF_HTTP_PASSWORD: ${{ secrets.GITEA_TOKEN }} + TF_HTTP_PASSWORD: ${{ secrets.INFRASTRUCTURE_TOKEN }} steps: - name: Checkout Code uses: actions/checkout@v4 - name: Configure Git for private modules - run: git config --global url."https://oauth2:${{ secrets.GITEA_TOKEN }}@git.itlab-ffeks.dnu.edu.ua".insteadOf "https://git.itlab-ffeks.dnu.edu.ua" + run: git config --global url."https://oauth2:${{ secrets.INFRASTRUCTURE_TOKEN }}@git.itlab-ffeks.dnu.edu.ua".insteadOf "https://git.itlab-ffeks.dnu.edu.ua" - name: Setup OpenTofu uses: opentofu/setup-opentofu@v1