Skip to content

Commit

Permalink
Bump Neon workflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Feb 13, 2024
1 parent 6c993e6 commit b0b504b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/delete-neon-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: get_branch_id
# list all branches and filter by name
run: |
branch_id=$(curl --silent \
branch_id=$(curl --silent --fail-with-body \
"https://console.neon.tech/api/v2/projects/${{ secrets.NEON_PROJECT_ID }}/branches" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
Expand All @@ -32,7 +32,7 @@ jobs:
echo "branch_id=${branch_id}" >> $GITHUB_OUTPUT
- name: Delete Neon Branch
uses: neondatabase/delete-branch-action@v2
uses: neondatabase/delete-branch-action@v3
with:
project_id: ${{ secrets.NEON_PROJECT_ID }}
branch_id: ${{ steps.get_branch_id.outputs.branch_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3

- name: Neon Database Create Branch Action
uses: neondatabase/create-branch-action@v3
uses: neondatabase/create-branch-action@v4
id: create_branch
with:
project_id: ${{ secrets.NEON_PROJECT_ID }}
Expand Down

0 comments on commit b0b504b

Please sign in to comment.