Skip to content

Commit

Permalink
add build notes
Browse files Browse the repository at this point in the history
  • Loading branch information
avivajpeyi committed Oct 14, 2024
1 parent 4afe57a commit 167e56f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ jobs:
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Web Build
run: |
mkdir -v -p build/web
mkdir -v -p ~/build/web
ls
cd $PROJECT_PATH
godot --headless --verbose --export-release "HTML5" ../build/web/index.html
ls
godot --headless --verbose --export-release "HTML5" ~/build/web/index.html
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: web
path: build/web
path: ~/build/web
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/web # The folder the action should deploy.
folder: ~/build/web # The folder the action should deploy.

0 comments on commit 167e56f

Please sign in to comment.