Skip to content

Commit b25f808

Browse files
authored
Merge pull request #1 from obeli-sk/migrate-garnix-to-cachix
migrate garnix to cachix
2 parents ffc3e0d + 1e0a36a commit b25f808

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
with:
2828
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2929
nix_conf: |
30-
extra-substituters = https://cache.garnix.io
31-
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
30+
extra-substituters = https://obeli-sk.cachix.org
31+
extra-trusted-public-keys = obeli-sk.cachix.org-1:31iM9GWSEhAXvvuTWQ7CvAcwvgRzsuJ9yJghywSd3Jw=
3232
3333
- name: Populate the Nix store
3434
run: nix develop --command echo
@@ -55,8 +55,8 @@ jobs:
5555
with:
5656
github_access_token: ${{ secrets.GITHUB_TOKEN }}
5757
nix_conf: |
58-
extra-substituters = https://cache.garnix.io
59-
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
58+
extra-substituters = https://obeli-sk.cachix.org
59+
extra-trusted-public-keys = obeli-sk.cachix.org-1:31iM9GWSEhAXvvuTWQ7CvAcwvgRzsuJ9yJghywSd3Jw=
6060
6161
- name: Verify deployment.toml
6262
run: |

.github/workflows/sync-flake-lock.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
with:
3030
github_access_token: ${{ secrets.GITHUB_TOKEN }}
3131
nix_conf: |
32-
extra-substituters = https://cache.garnix.io
33-
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
32+
extra-substituters = https://obeli-sk.cachix.org
33+
extra-trusted-public-keys = obeli-sk.cachix.org-1:31iM9GWSEhAXvvuTWQ7CvAcwvgRzsuJ9yJghywSd3Jw=
3434
3535
- name: Populate the Nix store
3636
run: nix develop --command echo

deployment.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ routes = [
6666
]
6767
env_vars = [
6868
{ key = "OBELISK_API_URL", value = "${OBELISK_API_URL:-http://127.0.0.1:5005}" },
69-
"GH_TOKEN",
7069
]
7170
[[webhook_endpoint_js.allowed_host]]
7271
pattern = "${OBELISK_API_URL:-http://127.0.0.1:5005}"
7372
methods = ["GET"]
7473
[[webhook_endpoint_js.allowed_host]]
7574
pattern = "https://api.github.com"
7675
methods = ["GET"]
76+
[webhook_endpoint_js.allowed_host.secrets]
77+
env_vars = ["GH_TOKEN"]
78+
replace_in = ["headers"]
7779

7880
[[cron]]
7981
name = "monitor_run"

0 commit comments

Comments
 (0)