Skip to content

Commit

Permalink
Merge pull request #277 from pmcgleenon/action-check-env
Browse files Browse the repository at this point in the history
  • Loading branch information
rschu1ze authored Dec 12, 2024
2 parents 6cea44f + 445d1c5 commit 07ad5ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/clickhouse-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
export ORGANIZATION=${{ secrets.CLICKHOUSE_CLOUD_ORGANIZATION }}
export KEY_ID=${{ secrets.CLICKHOUSE_CLOUD_KEY_ID }}
export KEY_SECRET=${{ secrets.CLICKHOUSE_CLOUD_KEY_SECRET }}
if [ -z "$ORGANIZATION" ] || [ -z "$KEY_ID" ] || [ -z "$KEY_SECRET" ]; then
echo "Required secrets are not set. Skipping workflow."
exit 0
fi
cd clickhouse-cloud
curl https://clickhouse.com/ | sh
sudo ./clickhouse install -y
Expand Down

0 comments on commit 07ad5ef

Please sign in to comment.