Skip to content

Commit

Permalink
haskellfoundation#23 Make a site deployment per branch
Browse files Browse the repository at this point in the history
  • Loading branch information
visortelle committed Dec 29, 2021
1 parent aa20909 commit d7fb6da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ else
deployment_url="https://${github_repo_owner}.github.io/${github_repo_name}/branches/${git_branch}"
fi

req_data()
update_github_checks_json()
{
cat <<EOF
{
Expand All @@ -99,7 +99,7 @@ curl \
--header "Accept: application/vnd.github.v3+json" \
--header "User-Agent: github-actions" \
--header "Content-Type: application/json" \
--data "$(req_data)" \
--data "$(update_github_checks_json)" \
--fail \
https://api.github.com/repos/${github_repo_owner}/${github_repo_name}/check-runs

Expand Down

0 comments on commit d7fb6da

Please sign in to comment.