Skip to content

Commit

Permalink
Gotta install curl too I guess.
Browse files Browse the repository at this point in the history
  • Loading branch information
nanodeath committed Jul 9, 2024
1 parent f806150 commit ae65f65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/godot-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
apt-get update
- name: Web Build
run: |
mkdir -v -p build/web/
Expand All @@ -37,6 +38,7 @@ jobs:
# https://github.com/godotengine/godot-proposals/issues/6616#issuecomment-1513340085
- run: |
cd $PROJECT_PATH/../build/web/
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: Upload Artifact
Expand All @@ -45,7 +47,7 @@ jobs:
name: web
path: build/web
- name: Install rsync 📚
run: apt-get update && apt-get install -y rsync
run: apt-get install -y rsync
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
Expand Down

0 comments on commit ae65f65

Please sign in to comment.