re-add nix checks

This commit is contained in:
Cyryl Płotnicki 2022-12-25 22:54:51 +00:00
parent 394897c844
commit afc284850a

View file

@ -4,11 +4,9 @@ pipeline:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- nix flake metadata
- nix --no-sandbox develop -c statix check
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
- echo $AWS_SECRET_ACCESS_KEY | sha256sum
- echo $AWS_SECRET_ACCESS_KEY | wc
- echo $GITHUB_TOKEN | sha256sum
- echo $GITHUB_TOKEN | wc
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev'
secrets: [ github_token , minio_nix_builder_key ]