From 81b1a21163a7a8732ee063a0faf59a57206717ec Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sat, 17 Feb 2024 12:27:50 -0800 Subject: [PATCH] cors14 --- .woodpecker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 31f6ca7..ded7455 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,8 +4,8 @@ steps: commands: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - nix profile install nixpkgs#gnused --impure - - echo $CI_COMMIT_SOURCE_BRANCH - - sed -i "s|base_url = "https://www.softinio.com"|base_url = "https://"$CI_COMMIT_SOURCE_BRANCH".softinio.com"|" ./config.toml + - echo $CI_COMMIT_BRANCH + - 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 flake show @@ -13,7 +13,7 @@ steps: - nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio --commit-dirty=true secrets: [ cloudflare_account_id, cloudflare_api_token ] when: - event: [push, pull_request] + event: [push] branch: exclude: [ main ]