From 70c58cab20d54532d7ecf8a3baaba1d28c3ecc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 25 Jun 2022 10:27:36 +0100 Subject: [PATCH] hack around netlify-deployer deficiency when deploying from non-master branches --- .build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index bd7d933..991fc1c 100644 --- a/.build.yml +++ b/.build.yml @@ -25,8 +25,7 @@ tasks: set +xv cd blog export NETLIFY_TOKEN=`cat ~/.netlify_token` - git checkout main - nix-shell --pure --keep NETLIFY_TOKEN --run 'netlify-deployer main 7a0944f0-cfd0-424b-8252-ca44fc950350 public' + nix-shell --pure --keep NETLIFY_TOKEN --run 'netlify-deployer master 7a0944f0-cfd0-424b-8252-ca44fc950350 public' - package: | tar -C blog/public -cv . > site.tar gzip --best site.tar