Skip to content

Commit

Permalink
chore: fix delete workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Aug 27, 2024
1 parent 69b082c commit 8424397
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/worker-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Delete Deployment

on:
delete:
branches-ignore:
- development
- main

jobs:
delete:
Expand All @@ -27,14 +24,6 @@ jobs:
branch_name=$(echo "${{ github.event.ref }}" | sed 's#refs/heads/##' | sed 's#[^a-zA-Z0-9]#_#g')
echo "branch_name=$branch_name" >> $GITHUB_ENV
# - name: Check if Branch is Main or Development
# id: check_branch
# run: |
# if [[ "${{ env.branch_name }}" == "main" ]] || [[ "${{ env.branch_name }}" == "development" ]]; then
# echo "This is the main or development branch. Skipping deletion."
# exit 0
# fi

- name: Retrieve and Construct Full Worker Name
id: construct_worker_name
run: |
Expand Down

0 comments on commit 8424397

Please sign in to comment.