Skip to content

Still more tweaks to yml #4

Still more tweaks to yml

Still more tweaks to yml #4

# Adapted from https://raw.githubusercontent.com/RudyMis/Bubbles/master/.github/workflows/godot-ci.yml
name: godot-ci
on:
push:
branches: [ main ]
env:
EXPORT_NAME: wildjam71
GODOT_VERSION: 4.2.2
jobs:
export-web:
name: Web Export
runs-on: ubuntu-latest
env:
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
container:
image: barichello/godot-ci:4.2.2
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Setup
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
- name: Web Build
run: |
mkdir -v -p build/web
godot --headless --verbose --export-release "HTML5" ./build/web/index.html
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
name: web
path: build/web
- name: Check
run: |
ls -la
- name: Deploy
uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
CHANNEL: html
ITCH_GAME: wildjam71
ITCH_USER: dnevill
PACKAGE: build/web