Skip to content

Commit

Permalink
Fix up event ref for deletion of docs associated with deleted branch
Browse files Browse the repository at this point in the history
  • Loading branch information
SorenSpicknall committed Jan 18, 2024
1 parent 1f3c451 commit 568a61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clean-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.head_ref == ''
run: |
IFS="\/";
read -a strarr <<< "${{ github.ref }}";
read -a strarr <<< "${{ github.event.ref }}";
last_ref="${strarr[${#strarr[*]}-1]}";
echo "Slug=$(echo $last_ref)" >> "$GITHUB_ENV"
- name: Document which reference
Expand Down

0 comments on commit 568a61b

Please sign in to comment.