Skip to content

Commit

Permalink
Put EOF at the beginning of the line
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Dec 30, 2020
1 parent d4e4664 commit e65faff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-vercel-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ jobs:
echo "'GIT_COMMIT_TAGS': $GIT_COMMIT_TAGS"
# Generates JSON using a bash function - See https://stackoverflow.com/a/57369772/2391795
# End Of File must be at the beginning of the line with no space/tab before or after - See https://stackoverflow.com/a/12909284/2391795
generate_post_data() {
cat <<EOF
{
Expand All @@ -234,7 +235,7 @@ jobs:
"GITHUB_REPOSITORY_SLUG_URL": "${GITHUB_REPOSITORY_SLUG_URL}",
"GITHUB_SHA_SHORT": "${GITHUB_SHA_SHORT}"
}
EOF
EOF
}

echo "Print generate_post_data():"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-vercel-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ jobs:
echo "'GIT_COMMIT_TAGS': $GIT_COMMIT_TAGS"
# Generates JSON using a bash function - See https://stackoverflow.com/a/57369772/2391795
# End Of File must be at the beginning of the line with no space/tab before or after - See https://stackoverflow.com/a/12909284/2391795
generate_post_data() {
cat <<EOF
{
Expand All @@ -311,7 +312,7 @@ jobs:
"GITHUB_REPOSITORY_SLUG_URL": "${GITHUB_REPOSITORY_SLUG_URL}",
"GITHUB_SHA_SHORT": "${GITHUB_SHA_SHORT}"
}
EOF
EOF
}

echo "Print generate_post_data():"
Expand Down

0 comments on commit e65faff

Please sign in to comment.