Skip to content

Commit

Permalink
Update github dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusey committed Jan 14, 2025
1 parent 5c2bab6 commit ea9629f
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,35 @@ jobs:
export-web:
name: Web Export
runs-on: ubuntu-20.04
needs:
- build-wasm
container:
image: barichello/godot-ci:4.3
steps:
- name: 🛎️ Checkout
- name: Checkout
uses: actions/checkout@v4
- name: 🔧 Generate folders
run: |
mkdir -v -p ./game/extern/release
- name: 📦 Download artifacts
- name: Make dir
run: mkdir -v -p ./game/extern/release
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: godot-neural-networks-wasm
path: ./game/extern/release
- name: 🏹 Setup
path: ./game/extern/release/godot-neural-networks.wasm
- name: Setup Godot Template
run: |
mkdir -v -p ~/.local/share/godot/export_templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
cd ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
ls -l
- name: 🔧 Web Build
mkdir -v -p ~/.config/
mv /root/.config/godot ~/.config/godot
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
ls -lah
- name: List files
run: |
ls -lah
- name: Web Build
run: |
cd ./game
mkdir -v -p build/web
godot --headless --verbose --export-release "Web" ./build/web/index.html
godot --headless --verbose --export-release "Web" ../exports/
ls -lah build/web
- name: 🤕 Netlify headers
- name: Netlify headers
run: |
cat <<EOF > build/web/_headers
/*
Expand Down

0 comments on commit ea9629f

Please sign in to comment.