fix: pass S3 creds via env vars for nix copy, not URL params
This commit is contained in:
parent
5bb8b5a427
commit
f870ef0bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -27,6 +27,6 @@ runs:
|
|||
echo "${NIX_SIGNING_KEY}" > /tmp/nix-key
|
||||
nix store sign -k /tmp/nix-key --recursive "${{ inputs.store-path }}"
|
||||
nix copy \
|
||||
--to "s3://${{ inputs.s3-bucket }}?endpoint=${{ inputs.s3-endpoint }}&access-key-id=${AWS_ACCESS_KEY_ID}&secret-access-key=${AWS_SECRET_ACCESS_KEY}" \
|
||||
--to "s3://${{ inputs.s3-bucket }}?endpoint=${{ inputs.s3-endpoint }}" \
|
||||
"${{ inputs.store-path }}"
|
||||
rm /tmp/nix-key
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue