diff --git a/.github/workflows/startclusters.yml b/.github/workflows/startclusters.yml index 4be95702..aebc110a 100644 --- a/.github/workflows/startclusters.yml +++ b/.github/workflows/startclusters.yml @@ -10,7 +10,7 @@ permissions: jobs: start-dev-clusters: runs-on: ubuntu-latest - environment: operations + environment: dev env: KV_GROUP: common-dev ENVIROMENT: dev @@ -19,9 +19,9 @@ jobs: - name: 'Az CLI login' uses: azure/login@v2 with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + client-id: ${{ vars.AZURE_CLIENT_ID }} + tenant-id: ${{ vars.AZURE_TENANT_ID }} + subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} - name: Get GitHub Public IP id: github_public_ip diff --git a/.github/workflows/stopclusters.yml b/.github/workflows/stopclusters.yml index 04709b84..363ed79c 100644 --- a/.github/workflows/stopclusters.yml +++ b/.github/workflows/stopclusters.yml @@ -12,7 +12,7 @@ permissions: jobs: stop-dev-clusters: runs-on: ubuntu-latest - environment: operations + environment: dev env: KV_GROUP: common-dev ENVIROMENT: dev @@ -21,9 +21,9 @@ jobs: - name: 'Az CLI login' uses: azure/login@v2 with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + client-id: ${{ vars.AZURE_CLIENT_ID }} + tenant-id: ${{ vars.AZURE_TENANT_ID }} + subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }} - name: Get GitHub Public IP id: github_public_ip