Skip to content

fix typo #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ There are scenarios where Alice might need to run multiple variants of ProjectFl
Try the following:

```python
python project_flow.py --branch better_version --prodduction run
python project_flow.py --branch better_version --production run
```

The flow reports that the branch name is `prod.better_version`. You can deploy the custom branch to AWS Step Functions:
Expand Down
14 changes: 14 additions & 0 deletions vercel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"

if [[ "$VERCEL_GIT_COMMIT_REF" == "gh-pages" || "$VERCEL_GIT_COMMIT_REF" == "master" ]] ; then
# Don't build
echo "🛑 - Build cancelled"
exit 0;

else
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
fi