mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-24 18:51:28 +01:00
Fix deploying develop when the bundles are already present in R2 (#27200)
This commit is contained in:
parent
4e492da1e4
commit
38dbedcd85
7
.github/workflows/build_develop.yml
vendored
7
.github/workflows/build_develop.yml
vendored
@ -84,6 +84,13 @@ jobs:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }}
|
||||
|
||||
# We may be trying to deploy the same webapp bundles again, we need to ensure that the live bundles
|
||||
# are not present in the _redirects file and instead accessed directly from Cloudflare Pages.
|
||||
- name: Trim _redirects
|
||||
working-directory: _deploy
|
||||
run: |
|
||||
find bundles -type d -mindepth 1 -maxdepth 1 -exec sed -i "\:{}:d" _redirects \;
|
||||
|
||||
- name: Wait for other steps to succeed
|
||||
uses: t3chguy/wait-on-check-action@05861d3a448898eb33dfce34153bd1ecb9422fb9 # fork
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user