re-add github push

This commit is contained in:
Cyryl Płotnicki 2022-12-25 22:56:57 +00:00
parent afc284850a
commit 84c32e5555

View file

@ -4,8 +4,9 @@ pipeline:
image: nixpkgs/nix-flakes:latest image: nixpkgs/nix-flakes:latest
pull: true pull: true
commands: commands:
- nix flake metadata - nix develop --no-sandbox -c git lfs fetch --all
- nix --no-sandbox develop -c statix check - 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
- export AWS_ACCESS_KEY_ID="nix-builder" - export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY" - export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev' - nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev'