dotfiles/.woodpecker/sync.yml

13 lines
452 B
YAML

pipeline:
push_to_github:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
- nix copy --all --to 's3://nix-store?endpoint=bolty:10000&schema=http'
secrets: [ github_token minio-nix-builder-key ]
volumes:
- /var/lib/woodpecker/nix-store:/var/build-nix-store