always publish

This commit is contained in:
Cyryl Płotnicki 2022-06-25 09:24:47 +01:00
parent 29fd68173d
commit 51af0e36cf

View file

@ -25,7 +25,7 @@ tasks:
set +xv
cd blog
export NETLIFY_TOKEN=`cat ~/.netlify_token`
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
nix-shell --pure --keep NETLIFY_TOKEN --run 'netlify-deployer main 7a0944f0-cfd0-424b-8252-ca44fc950350 public'
- package: |
tar -C blog/public -cv . > site.tar
gzip --best site.tar