mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 12:54:03 +00:00
ops: deploy app.logicsrc.com to dev2 on merge (#216)
* ops: deploy app.logicsrc.com to dev2 on merge Railway deployed this on push; dev2 does not by itself. The workflow ssh's to the box and runs /home/anthony/www/app.logicsrc.com/deploy-app.sh, which builds the image from this checkout and restarts the compose stack. Generated by cli-tools dev2/dev2-site scaffold. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * ops: stop committing the nixpacks build plan `railway up` writes .nixpacks/ into the working tree: a Dockerfile, a nixpkgs pin, and a build.sh that hard-codes the absolute path of the worktree it ran in plus a one-off image tag. None of it is reusable and no workflow reads it, so every branch that deploys regenerates it and conflicts with the last one -- which is exactly how this branch ended up CONFLICTING against master. Drop it and ignore it. * ops: drop the nixpacks build plan master picked up in #215 Same detritus, same stale absolute path (a worktree that no longer exists). Now ignored, so it will not come back. --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
f4780259fd
commit
587c073f72
5 changed files with 65 additions and 58 deletions
|
|
@ -1,21 +0,0 @@
|
|||
{ }:
|
||||
|
||||
let pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.tar.gz") { overlays = [ (import (builtins.fetchTarball "https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz")) ]; };
|
||||
in with pkgs;
|
||||
let
|
||||
APPEND_LIBRARY_PATH = "${lib.makeLibraryPath [ gcc-unwrapped ] }";
|
||||
myLibraries = writeText "libraries" ''
|
||||
export LD_LIBRARY_PATH="${APPEND_LIBRARY_PATH}:$LD_LIBRARY_PATH"
|
||||
|
||||
'';
|
||||
in
|
||||
buildEnv {
|
||||
name = "ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env";
|
||||
paths = [
|
||||
(runCommand "ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env" { } ''
|
||||
mkdir -p $out/etc/profile.d
|
||||
cp ${myLibraries} $out/etc/profile.d/ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env.sh
|
||||
'')
|
||||
nodejs_22 npm-9_x
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue