diff --git a/.github/workflows/staging-deployment.yaml b/.github/workflows/staging-deployment.yaml deleted file mode 100644 index d208cb3c64..0000000000 --- a/.github/workflows/staging-deployment.yaml +++ /dev/null @@ -1,61 +0,0 @@ -name: staging-deployment -# Trigger deployment only on push to main branch -on: - push: - branches: - - main -jobs: - deploy: - name: Deploy latest main branch to staging - runs-on: ubuntu-latest - environment: staging - permissions: - contents: 'read' - id-token: 'write' - steps: - - id: 'auth' - uses: 'google-github-actions/auth@v2' - with: - workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} - service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }} - - - name: 'sdk' - uses: 'google-github-actions/setup-gcloud@v2' - - - name: 'ssh' - shell: bash - env: - GITHUB_BRANCH: ${{ github.head_ref || github.ref_name }} - GITHUB_SHA: ${{ github.sha }} - GCP_PROJECT: ${{ secrets.GCP_PROJECT }} - GCP_ZONE: ${{ secrets.GCP_ZONE }} - GCP_INSTANCE: ${{ secrets.GCP_INSTANCE }} - CLOUDSDK_CORE_DISABLE_PROMPTS: 1 - run: | - read -r -d '' COMMAND <