Skip to content

Add alpha change for cell based on hp left to restore the cell #5

Add alpha change for cell based on hp left to restore the cell

Add alpha change for cell based on hp left to restore the cell #5

Workflow file for this run

name: Export and Deploy to Itch.io
on:
push:
branches:
- main
env:
GODOT_VERSION: 4.6
PROJECT_PATH: .
jobs:
export-web:
name: Web Export
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
container:
image: barichello/godot-ci:4.6
steps:
- name: Checkout
uses: actions/checkout@v4
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
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: web
path: build/web
- name: Deploy to itch.io
uses: yeslayla/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_API_KEY }}
CHANNEL: web
ITCH_GAME: ${{ secrets.ITCHIO_GAME }}
ITCH_USER: ${{ secrets.ITCHIO_USERNAME }}
PACKAGE: build/web