Skip to content

Commit

Permalink
ci: fix deployment in fork check
Browse files Browse the repository at this point in the history
we need a case insensitive check

fixes 2c8aa49
  • Loading branch information
herbetom committed Sep 25, 2024
1 parent a23ab45 commit e0e1b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/build-meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if [ "${GITHUB_REPOSITORY,,}" != "${UPSTREAM_REPO_NAME,,}" ] && [ "$SIGN_MANIFES
fi

# We should neither deploy in a fork, as the workflow is hard-coding our firmware-server
if [ "$GITHUB_REPOSITORY" != "$UPSTREAM_REPO_NAME" ] && [ "$DEPLOY" != "0" ]; then
if [ "${GITHUB_REPOSITORY,,}" != "${UPSTREAM_REPO_NAME,,}" ] && [ "$DEPLOY" != "0" ]; then
DEPLOY="0"

echo "::warning::Skip deployment due to action running in fork."
Expand Down

0 comments on commit e0e1b6b

Please sign in to comment.