diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 42d2f5b83..6ac260d87 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -12,7 +12,7 @@ permissions: id-token: write contents: read -jobs: +jobs: build-and-deploy: runs-on: ubuntu-latest steps: @@ -50,9 +50,8 @@ jobs: ARM_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }} ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} - run: | terraform plan -out=tfplan \ -var="location=UK South" \ - -var="override_action=plan" \ + -var="override_action=plan" terraform apply -auto-approve tfplan diff --git a/components/provider.tf b/components/provider.tf index c7c3c1a3e..1b63c6eea 100644 --- a/components/provider.tf +++ b/components/provider.tf @@ -1,7 +1,7 @@ -# provider "github" { -# token = var.github_token -# owner = "hmcts" -# } +provider "github" { + # token = var.github_token + owner = "hmcts" +} terraform { required_version = ">= 1.3.6"