mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Fix publishing to CDN in release CI (#5877)
- Output should be `uppy.css` not `styles.css`, as it was before - Actually run the bundle script in `build` - Bundled packages are in theory always fixed, they will never be resolved differently once published, so reflecting that with `workspace:*`. Hopefully this also triggers changesets to always release `uppy` if any of its dependencies change (doesn't happen currently) - Don't force override existing releases in CI
This commit is contained in:
parent
22957e487d
commit
c4d97cd972
3 changed files with 107 additions and 105 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -66,14 +66,14 @@ jobs:
|
|||
|
||||
- name: Upload `uppy` to CDN
|
||||
if: steps.changesets.outputs.published == 'true'
|
||||
run: node packages/uppy/upload-to-cdn.js uppy --force
|
||||
run: node packages/uppy/upload-to-cdn.js uppy
|
||||
env:
|
||||
EDGLY_KEY: ${{secrets.EDGLY_KEY}}
|
||||
EDGLY_SECRET: ${{secrets.EDGLY_SECRET}}
|
||||
|
||||
- name: Upload `@uppy/locales` to CDN if it was released
|
||||
if: steps.changesets.outputs.published == 'true'
|
||||
run: node packages/uppy/upload-to-cdn.js @uppy/locales --force
|
||||
run: node packages/uppy/upload-to-cdn.js @uppy/locales
|
||||
env:
|
||||
EDGLY_KEY: ${{secrets.EDGLY_KEY}}
|
||||
EDGLY_SECRET: ${{secrets.EDGLY_SECRET}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue