replace base url for testing and force rebuild
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Salar Rahmanian 2024-02-17 12:38:30 -08:00
parent bd35c5e2ce
commit eba84eb3fc
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@ steps:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix profile install nixpkgs#gnused --impure - nix profile install nixpkgs#gnused --impure
- sed -i "s|base_url = \"https://www.softinio.com\"|base_url = \"https://$CI_COMMIT_BRANCH.softinio.com\"|" ./config.toml - sed -i "s|base_url = \"https://www.softinio.com\"|base_url = \"https://$CI_COMMIT_BRANCH.softinio.com\"|" ./config.toml
- cat ./config.toml
- nix build - nix build
- nix flake show - nix flake show
- ls result - ls result

View file

@ -31,7 +31,7 @@
ln -snf "${theme}" "themes/${themeName}" ln -snf "${theme}" "themes/${themeName}"
''; '';
buildPhase = '' buildPhase = ''
zola build zola build -f
''; '';
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out