mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 00:59:47 +00:00
[CI] Attempt to fix Web builds
This commit is contained in:
parent
df5f1be802
commit
28fabc9d9b
1
.github/workflows/dev-web.yml
vendored
1
.github/workflows/dev-web.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
|||
- name: Enable SharedArrayBuffer for GitHub Pages
|
||||
run: |
|
||||
cd ./build/web
|
||||
sudo apt-get install -y curl
|
||||
curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js
|
||||
sed -i 's#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html
|
||||
- name: Deploy 🚀
|
||||
|
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -201,6 +201,7 @@ jobs:
|
|||
- name: Enable SharedArrayBuffer for GitHub Pages
|
||||
run: |
|
||||
cd ./build/web
|
||||
sudo apt-get install -y curl
|
||||
curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js
|
||||
sed -i 's#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html
|
||||
- name: Deploy 🚀
|
||||
|
|
Loading…
Reference in a new issue