Skip to content

Commit

Permalink
feat(ci): run CDN if dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Sep 26, 2023
1 parent 09516ea commit ef73df1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
run: echo "versions=$(npm run --silent ci:prepare-release)" >> ${GITHUB_OUTPUT}

- id: 'upload-files-version'
if: ${{ always() && hashFiles('packages/rum/dist/bundles/*.js') }}
uses: 'google-github-actions/upload-cloud-storage@v1'
with:
parent: false
Expand All @@ -117,6 +118,7 @@ jobs:
process_gcloudignore: false

- id: 'upload-files-major-version'
if: ${{ always() && hashFiles('packages/rum/dist/bundles/*.js') }}
uses: 'google-github-actions/upload-cloud-storage@v1'
with:
parent: false
Expand All @@ -126,6 +128,7 @@ jobs:
process_gcloudignore: false

- id: 'upload-file-index'
if: ${{ always() && hashFiles('index.html') }}
uses: 'google-github-actions/upload-cloud-storage@v1'
with:
parent: false
Expand Down

0 comments on commit ef73df1

Please sign in to comment.