replace base url for branches
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Salar Rahmanian 2024-02-17 10:50:20 -08:00
parent 1b21827a49
commit 0f3a2d1bf4

View file

@ -3,6 +3,7 @@ steps:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- 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