diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf84f39..f0b7d67 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,7 @@ jobs: - name: Build run: ./build.sh - name: Upload + if: ${{ github.event_name == 'release' }} # 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