diff --git a/.github/workflows/dev-web.yml b/.github/workflows/dev-web.yml
index 6af8588c8..e94655dec 100644
--- a/.github/workflows/dev-web.yml
+++ b/.github/workflows/dev-web.yml
@@ -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#\( \)# \n\1#g' index.html
- name: Deploy 🚀
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 28b5d864a..42edaba95 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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#\( \)# \n\1#g' index.html
- name: Deploy 🚀