dotfiles/.woodpecker/sync.yml

14 lines
519 B
YAML

pipeline:
push_to_github:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- 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 ]