Skip to content

Commit

Permalink
Adding CDN Uploading of Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-manley committed Nov 2, 2023
1 parent a5d6aad commit 5c98a16
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,14 @@ jobs:
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: bucketName
source_dir: ./dist/${{ matrix.artifacts_path }}
destination_dir: ${{ matrix.artifacts_name }}
endpoint: cdn.ntgecdn.com
11 changes: 11 additions & 0 deletions .github/workflows/test-debug-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,14 @@ jobs:
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: bucketName
source_dir: ./dist/${{ matrix.artifacts_path }}
destination_dir: ${{ matrix.artifacts_name }}
endpoint: cdn.ntgecdn.com
11 changes: 11 additions & 0 deletions .github/workflows/test-release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,14 @@ jobs:
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: bucketName
source_dir: ./dist/${{ matrix.artifacts_path }}
destination_dir: ${{ matrix.artifacts_name }}
endpoint: cdn.ntgecdn.com
11 changes: 11 additions & 0 deletions .github/workflows/test-relwithdebinfo-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,14 @@ jobs:
with:
name: ${{ matrix.artifacts_name }}
path: ./dist/${{ matrix.artifacts_path }}

- name: Upload to NasuTek MinIO S3
uses: shallwefootball/s3-upload-action@master
id: S3
with:
aws_key_id: ${{secrets.nte_cdn_s3_key_id}}
aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}}
aws_bucket: bucketName
source_dir: ./dist/${{ matrix.artifacts_path }}
destination_dir: ${{ matrix.artifacts_name }}
endpoint: cdn.ntgecdn.com

0 comments on commit 5c98a16

Please sign in to comment.