unshallow clone so that we can push properly

This commit is contained in:
Cyryl Płotnicki 2022-12-25 23:05:12 +00:00
parent de32244df2
commit 615ac51fa7

View file

@ -5,6 +5,7 @@ pipeline:
pull: true pull: true
commands: commands:
- nix develop --no-sandbox -c git lfs fetch --all - nix develop --no-sandbox -c git lfs fetch --all
- nix develop --no-sandbox -c git fetch --unshallow origin
- nix develop --no-sandbox -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git - nix develop --no-sandbox -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
- nix develop --no-sandbox -c git push github --all --force - nix develop --no-sandbox -c git push github --all --force
- export AWS_ACCESS_KEY_ID="nix-builder" - export AWS_ACCESS_KEY_ID="nix-builder"