Skip to content

Commit 707ca77

Browse files
fix: debug preview release
1 parent 0deedf9 commit 707ca77

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/upload-to-s3.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
set -euo pipefail
18+
set -euxo pipefail
1919

2020
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
2121
# shellcheck disable=SC2002
@@ -49,7 +49,7 @@ function uploadFile() {
4949
[ ! -d "$FILENAME_SRC" ] && echo "Directory $FILENAME_SRC does not exist." && exit 1
5050

5151
# shellcheck disable=SC2086
52-
aws s3 cp --recursive $DRY_RUN "$FILENAME_SRC" "s3://$AWS_S3_BUCKET_NAME/$BASE/$FILENAME_DST"
52+
aws s3 cp $DEBUG --recursive $DRY_RUN "$FILENAME_SRC" "s3://$AWS_S3_BUCKET_NAME/$BASE/$FILENAME_DST"
5353
}
5454

5555
# publish repo

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ jobs:
4848
./mvnw clean verify -DtrimStackTrace=false
4949
5050
- name: Upload binaries to static.snyk.io
51-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' }}
51+
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' }}
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454
AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }}
5555
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5656
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
57+
DEBUG: "--debug"
5758
run: |
5859
.github/upload-to-s3.sh preview

0 commit comments

Comments
 (0)