Skip to content

Commit b692844

Browse files
committed
switch to effect for pages
1 parent df2b19c commit b692844

File tree

3 files changed

+17
-49
lines changed

3 files changed

+17
-49
lines changed

.github/workflows/pages.yml

-49
This file was deleted.

dev/effect-pages.nix

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
hercules-ci.github-pages = {
3+
branch = "master";
4+
check.enable = false;
5+
};
6+
7+
perSystem =
8+
{ config, ... }:
9+
{
10+
hercules-ci.github-pages.settings = {
11+
# automatic token generation by buildbot github app ??
12+
# secretsMap.token = "token-for-pages";
13+
contents = config.packages.docs;
14+
};
15+
};
16+
}

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
systems = import inputs.systems;
5555

5656
imports = [
57+
./dev/effect-pages.nix
5758
inputs.hercules-ci-effects.flakeModule
5859
inputs.treefmt-nix.flakeModule
5960
];

0 commit comments

Comments
 (0)