mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-08 05:50:47 +00:00
ci: allow pull requests
disable tests if env secrets are empty - detect emtpy aws token - upload: check for aptly creds
This commit is contained in:
@@ -44,6 +44,12 @@ if [ "action" = "ci" ] && [ -z "$dist" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$aptly_user" ] || [ -z "$aptly_password" ]; then
|
||||
usage
|
||||
echo Error: please set APTLY_USER and APTLY_PASSWORD
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Publishing version '$version' to $action for $dist...\n"
|
||||
|
||||
upload()
|
||||
|
||||
Reference in New Issue
Block a user