Skip to content

Commit

Permalink
Prevent uploading artifacts from pull requests. Do it only from merge…
Browse files Browse the repository at this point in the history
…s, since the secrets are not defined and it fails.
  • Loading branch information
JosepMaJAZ committed Jun 19, 2024
1 parent c358285 commit dd67941
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ jobs:
- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
id: S3
if: secrets.nte_cdn_s3_key_id != null
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-debug-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
if: secrets.nte_cdn_s3_key_id != null
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
if: secrets.nte_cdn_s3_key_id != null
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-relwithdebinfo-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
if: secrets.nte_cdn_s3_key_id != null
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
Expand Down

0 comments on commit dd67941

Please sign in to comment.