Skip to content

Commit

Permalink
Fix the hash generation
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Jun 21, 2023
1 parent 15951de commit 765327d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
SUBDOMAIN="${{ env.PROJECT }}-${{ env.PREFIX }}-$URL_BRANCH-joystream"
if [ ${#SUBDOMAIN} -gt 63 ]; then
HASH=$(echo -n "${{ env.PREFIX }}-$BRANCH${{ env.PROJECT }}" | sha256sum | head -c 6)
HASH=$(echo -n "${{ env.PREFIX }}-${BRANCH}${{ env.PROJECT }}" | sha256sum | head -c 6)
SUBDOMAIN="$(echo -n "$SUBDOMAIN" | head -c 46)-$HASH-joystream"
fi
Expand Down

0 comments on commit 765327d

Please sign in to comment.