Skip to content

Commit

Permalink
chore: updated worker deletion ref branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 16, 2025
1 parent 2076f48 commit 39cc47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/worker-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
delete:
runs-on: ubuntu-latest
name: Delete Deployment
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
environment: ${{ (github.ref == 'refs/heads/main' || github.event.workflow_run.head_branch == 'main') && 'main' || 'development' }}
steps:
- name: Setup Node
uses: actions/setup-node@v4
Expand Down

0 comments on commit 39cc47e

Please sign in to comment.