Skip to content

Commit 391dbbb

Browse files
authored
fix: Correct typo in cut command for Firebase channel deletion workflow (#76)
- **Change**: - Fixed the `cut` command by correcting the spelling of `--delimiter` and properly setting its syntax in the `args` field of the `delete-firebase-hosting-channel.yml` workflow. - **Purpose**: - Ensure the command extracts the correct channel name from the Firebase hosting channel list, improving the reliability of pull request cleanup. - **Impact**: - Resolves potential failures caused by invalid `cut` command options in the Firebase channel deletion process.
1 parent 865d041 commit 391dbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/delete-firebase-hosting-channel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: w9jds/firebase-action@12e7dd1a31239567f9b4d398e6c1dc9f1c6fc70a # v13.28.0
1313
with:
1414
# Extracts the full channel name from the PR number and feeds it to the delete command
15-
args: hosting:channel:list | grep 'pr${{ github.event.pull_request.number }}' | cut --delimeter ' ' --fields 2 | xargs -I {} firebase hosting:channel:delete --force {}
15+
args: hosting:channel:list | grep 'pr${{ github.event.pull_request.number }}' | cut --delimiter ' ' --fields 2 | xargs -I {} firebase hosting:channel:delete --force {}
1616
env:
1717
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BVARGA_FE600 }}
1818
PROJECT_ID: bvarga-fe600

0 commit comments

Comments
 (0)