change main branch to main

This commit is contained in:
Cyryl Płotnicki 2022-06-25 08:48:33 +01:00
parent 40545022f6
commit 0d32518b19

View file

@ -25,7 +25,7 @@ tasks:
set +xv
cd blog
export NETLIFY_TOKEN=`cat ~/.netlify_token`
if [ `git branch --contains HEAD | grep -i master` ]; then nix-shell --pure --keep NETLIFY_TOKEN --run 'netlify-deployer master 7a0944f0-cfd0-424b-8252-ca44fc950350 public'; fi
if [ `git branch --contains HEAD | grep -i main` ]; then nix-shell --pure --keep NETLIFY_TOKEN --run 'netlify-deployer main 7a0944f0-cfd0-424b-8252-ca44fc950350 public'; fi
- package: |
tar -C blog/public -cv . > site.tar
gzip --best site.tar