Print link to image in upload setup

This commit is contained in:
Oleg Kalachev
2021-06-30 04:49:34 +03:00
parent f5e3be0222
commit 5be68ffa65
2 changed files with 3 additions and 5 deletions

View File

@@ -21,5 +21,7 @@ jobs:
run: ./build.sh
- name: Upload
# Not using ready S3 actions, because they either don't run on macOS machines or don't support changing the endpoint
run: AWS_ACCESS_KEY_ID=${{secrets.S3_KEY}} AWS_SECRET_ACCESS_KEY=${{secrets.S3_SECRET_KEY}} aws s3 sync . s3://clovervm/ --acl public-read --endpoint-url https://ams3.digitaloceanspaces.com --no-progress
run: |
AWS_ACCESS_KEY_ID=${{secrets.S3_KEY}} AWS_SECRET_ACCESS_KEY=${{secrets.S3_SECRET_KEY}} aws s3 sync . s3://clovervm/ --acl public-read --endpoint-url https://ams3.digitaloceanspaces.com --no-progress
echo Uploaded https://clovervm.ams3.digitaloceanspaces.com/$(ls)
working-directory: output-virtualbox-ovf