Skip to content

Commit

Permalink
Merge pull request #28 from Freifunk-Rhein-Neckar/ci-fix-deploy-check
Browse files Browse the repository at this point in the history
ci: fix deployment in fork check
  • Loading branch information
herbetom authored Sep 27, 2024
2 parents a23ab45 + e0e1b6b commit 879af37
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 879af37

Please sign in to comment.