Skip to content

Commit

Permalink
ci: fix github ref
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed May 17, 2024
1 parent 13a740c commit 64e56a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/delete-branch-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
R2_BUCKET_NAME: ${{ secrets.R2_BUCKET_NAME }}
run: |
SANITIZED_HEAD_REF=${{ github.head_ref || github.ref }}
SANITIZED_HEAD_REF=${{ github.ref }}
SANITIZED_HEAD_REF=$(echo "$SANITIZED_HEAD_REF" | sed 's|refs/heads/||; s|/|_|g')
./build/delete-snapshot "$SANITIZED_HEAD_REF"

0 comments on commit 64e56a8

Please sign in to comment.