Fix uploading static assets to r2 (#3941)
We have to make sure that env variables are present. Might be better to use `makeEnv` inside these workflows instead of just inside `upload-static-assets`? Feels repetitive though. ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [ ] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [x] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know ### Release Notes - Fix an issue with uploading the static assets.
This commit is contained in:
parent
beb0bca5fe
commit
0f3586e2b8
4 changed files with 8 additions and 0 deletions
2
.github/workflows/publish-canary.yml
vendored
2
.github/workflows/publish-canary.yml
vendored
|
@ -25,3 +25,5 @@ jobs:
|
|||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||
R2_ACCESS_KEY_SECRET: ${{ secrets.R2_ACCESS_KEY_SECRET }}
|
||||
|
|
2
.github/workflows/publish-manual.yml
vendored
2
.github/workflows/publish-manual.yml
vendored
|
@ -32,6 +32,8 @@ jobs:
|
|||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||
R2_ACCESS_KEY_SECRET: ${{ secrets.R2_ACCESS_KEY_SECRET }}
|
||||
|
||||
publish_templates:
|
||||
name: Publishes code templates to separate repositories
|
||||
|
|
2
.github/workflows/publish-new.yml
vendored
2
.github/workflows/publish-new.yml
vendored
|
@ -69,6 +69,8 @@ jobs:
|
|||
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }}
|
||||
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||
R2_ACCESS_KEY_SECRET: ${{ secrets.R2_ACCESS_KEY_SECRET }}
|
||||
|
||||
publish_templates:
|
||||
name: Publishes code templates to separate repositories
|
||||
|
|
2
.github/workflows/publish-patch.yml
vendored
2
.github/workflows/publish-patch.yml
vendored
|
@ -50,6 +50,8 @@ jobs:
|
|||
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }}
|
||||
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||
R2_ACCESS_KEY_SECRET: ${{ secrets.R2_ACCESS_KEY_SECRET }}
|
||||
|
||||
publish_templates:
|
||||
name: Publishes code templates to separate repositories
|
||||
|
|
Loading…
Reference in a new issue