From 5f5cab251c37deb1007196c921847e930bf0eb41 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sat, 17 Feb 2024 10:59:54 -0800 Subject: [PATCH] install sed for ci using nix develop 2 --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9b21a92..fda9318 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ steps: image: nixos/nix commands: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - - nix develop nixpkgs#gnused --command sed -i 's/base_url = "https:\/\/www.softinio.com"/base_url = "https:\/\/${CI_COMMIT_SOURCE_BRANCH}.softinio.com"/' ./config.toml + - nix develop nixpkgs#gnused --command bash -c "sed -i 's/base_url = "https:\/\/www.softinio.com"/base_url = "https:\/\/${CI_COMMIT_SOURCE_BRANCH}.softinio.com"/' ./config.toml" - nix build - nix flake show - ls result