Skip to content

Commit 6f6fa10

Browse files
committed
haskellfoundation#23 Make a site deployment per branch
1 parent b9df94c commit 6f6fa10

File tree

7 files changed

+14
-16
lines changed

7 files changed

+14
-16
lines changed

.github/workflows/deploy.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ else
8181
deployment_url="https://${github_repo_owner}.github.io/${github_repo_name}/branches/${git_branch}"
8282
fi
8383

84-
update_github_checks_json()
85-
{
84+
update_github_checks_req_data() {
8685
cat <<EOF
8786
{
8887
"name": "deployment",
@@ -99,9 +98,8 @@ curl \
9998
--header "Accept: application/vnd.github.v3+json" \
10099
--header "User-Agent: github-actions" \
101100
--header "Content-Type: application/json" \
102-
--data "$(update_github_checks_json)" \
101+
--data "$(update_github_checks_req_data)" \
103102
--fail \
104103
https://api.github.com/repos/${github_repo_owner}/${github_repo_name}/check-runs
105104

106-
107105
echo "Deployment is available at: '${deployment_url}'"

donations/sponsors/flipstone.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: FlipStone
3-
logo: /assets/images/sponsors/flipstone/flipstone-683.png
4-
srcset: /assets/images/sponsors/flipstone/flipstone-200.png 200w, /assets/images/sponsors/flipstone/flipstone-400.png 400w, /assets/images/sponsors/flipstone/flipstone-683.png 683w
3+
logo: ./assets/images/sponsors/flipstone/flipstone-683.png
4+
srcset: ./assets/images/sponsors/flipstone/flipstone-200.png 200w, ./assets/images/sponsors/flipstone/flipstone-400.png 400w, ./assets/images/sponsors/flipstone/flipstone-683.png 683w
55
externalUrl: https://flipstone.com/
66
level: Functor
77
---

donations/sponsors/github.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: GitHub
3-
logo: /assets/images/sponsors/github/github-683.png
4-
srcset: /assets/images/sponsors/github/github-200.png 200w, /assets/images/sponsors/github/github-400.png 400w, /assets/images/sponsors/github/github-683.png 683w
3+
logo: ./assets/images/sponsors/github/github-683.png
4+
srcset: ./assets/images/sponsors/github/github-200.png 200w, ./assets/images/sponsors/github/github-400.png 400w, ./assets/images/sponsors/github/github-683.png 683w
55
externalUrl: https://github.com/
66
level: Monad
77
---

donations/sponsors/iohk.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: IOHK
3-
logo: /assets/images/sponsors/iohk/iohk-683.png
4-
srcset: /assets/images/sponsors/iohk/iohk-200.png 200w, /assets/images/sponsors/iohk/iohk-400.png 400w, /assets/images/sponsors/iohk/iohk-683.png 683w
3+
logo: ./assets/images/sponsors/iohk/iohk-683.png
4+
srcset: ./assets/images/sponsors/iohk/iohk-200.png 200w, ./assets/images/sponsors/iohk/iohk-400.png 400w, ./assets/images/sponsors/iohk/iohk-683.png 683w
55
externalUrl: https://iohk.io/
66
level: Monad
77
---

donations/sponsors/obsidian.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Obsidian Systems
3-
logo: /assets/images/sponsors/obsidian-systems/obsidian-systems-683.png
4-
srcset: /assets/images/sponsors/obsidian-systems/obsidian-systems-200.png 200w, /assets/images/sponsors/obsidian-systems/obsidian-systems-400.png 400w, /assets/images/sponsors/obsidian-systems/obsidian-systems-683.png 683w
3+
logo: ./assets/images/sponsors/obsidian-systems/obsidian-systems-683.png
4+
srcset: ./assets/images/sponsors/obsidian-systems/obsidian-systems-200.png 200w, ./assets/images/sponsors/obsidian-systems/obsidian-systems-400.png 400w, ./assets/images/sponsors/obsidian-systems/obsidian-systems-683.png 683w
55
externalUrl: https://obsidian.systems/
66
level: Applicative
77
---

donations/sponsors/tweag.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Tweag
3-
logo: /assets/images/sponsors/tweag/tweag-683.png
4-
srcset: /assets/images/sponsors/tweag/tweag-200.png 200w, /assets/images/sponsors/tweag/tweag-400.png 400w, /assets/images/sponsors/tweag/tweag-683.png 683w
3+
logo: ./assets/images/sponsors/tweag/tweag-683.png
4+
srcset: ./assets/images/sponsors/tweag/tweag-200.png 200w, ./assets/images/sponsors/tweag/tweag-400.png 400w, ./assets/images/sponsors/tweag/tweag-683.png 683w
55
externalUrl: https://tweag.io/
66
level: Applicative
77
---

donations/sponsors/welltyped.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Well-Typed
3-
logo: /assets/images/sponsors/well-typed/well-typed-683.png
4-
srcset: /assets/images/sponsors/well-typed/well-typed-200.png 200w, /assets/images/sponsors/well-typed/well-typed-400.png 400w, /assets/images/sponsors/well-typed/well-typed-683.png 683w
3+
logo: ./assets/images/sponsors/well-typed/well-typed-683.png
4+
srcset: ./assets/images/sponsors/well-typed/well-typed-200.png 200w, ./assets/images/sponsors/well-typed/well-typed-400.png 400w, ./assets/images/sponsors/well-typed/well-typed-683.png 683w
55
externalUrl: https://well-typed.com/
66
level: Applicative
77
---

0 commit comments

Comments
 (0)