Skip to content

Commit

Permalink
remove web artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jun 13, 2024
1 parent 49cb3aa commit 9263fd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Build web
if: inputs.disable-deploy != true
run: nix build -L --option build-cores 1 .?submodules=1#unavi-web
run: nix build -L .?submodules=1#unavi-web

deploy:
needs:
Expand Down
7 changes: 1 addition & 6 deletions crates.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,7 @@ let
craneLib.buildPackage (unaviAppConfig // { cargoArtifacts = unaviAppArtifacts; } // mkAppEnv input);
unavi-app = mkUnaviApp { inherit worldHostDid; };

unaviWebArtifacts = craneLib.buildDepsOnly unaviWebConfig;
mkUnaviWeb =
input:
craneLib.buildTrunkPackage (
unaviWebConfig // { cargoArtifacts = unaviWebArtifacts; } // mkAppEnv input
);
mkUnaviWeb = input: craneLib.buildTrunkPackage (unaviWebConfig // mkAppEnv input);
unavi-web = mkUnaviWeb { inherit worldHostDid; };

unavi-server = craneLib.buildPackage unaviServerConfig;
Expand Down

0 comments on commit 9263fd7

Please sign in to comment.