Skip to content

Commit

Permalink
switch to effect for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Oct 2, 2024
1 parent 79c3eb2 commit 70e19b3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/pages.yml

This file was deleted.

15 changes: 15 additions & 0 deletions dev/effect-pages.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
hercules-ci.github-pages = {
branch = "master";
};

perSystem =
{ config, ... }:
{
hercules-ci.github-pages.settings = {
# automatic token generation by buildbot github app ??
# secretsMap.token = "token-for-pages";
contents = config.packages.docs;
};
};
}
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
systems = import inputs.systems;

imports = [
./dev/effect-pages.nix
inputs.hercules-ci-effects.flakeModule
inputs.lite-config.flakeModule
inputs.treefmt-nix.flakeModule
];
Expand Down

0 comments on commit 70e19b3

Please sign in to comment.