From b852866312bc1f9df8d4b4a9d53eb5bd6b2c684c Mon Sep 17 00:00:00 2001 From: Bryan Clark Date: Tue, 7 May 2024 13:41:51 -0700 Subject: [PATCH] Update cleanup-preview.yml Use the var.NEON_PROJECT_ID to match --- .github/workflows/cleanup-preview.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cleanup-preview.yml b/.github/workflows/cleanup-preview.yml index 6f482b1..e5bba75 100644 --- a/.github/workflows/cleanup-preview.yml +++ b/.github/workflows/cleanup-preview.yml @@ -11,12 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Delete Fly app - id: deploy uses: superfly/fly-pr-review-apps@1.2.0 - name: Delete Neon Branch uses: neondatabase/delete-branch-action@v3.1.3 with: - project_id: ${{ secrets.NEON_PROJECT_ID }} + project_id: ${{ var.NEON_PROJECT_ID }} branch: preview/pr-${{ github.event.number }}-${{ github.event.pull_request.head.ref }} api_key: ${{ secrets.NEON_API_KEY }}