change main branch to main
This commit is contained in:
parent
40545022f6
commit
0d32518b19
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue