Skip to content

Commit

Permalink
feat: added workflow for build and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffaele Lungarella committed Jul 22, 2024
1 parent 365fe90 commit fcaf99c
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Godot Project

on:
push: {}

jobs:
Godot:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Godot Export
id: export
uses: firebelley/[email protected]
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_export_templates.tpz
relative_project_path: ./
archive_output: true
cache: true
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
- name: Publish to Itch
uses: Ayowel/[email protected]
with:
butler_key: ${{secrets.ITCHIO_TOKEN}}
itch_user: stampede-studios
itch_game: star-knight
version: ${{ github.ref_name }}
files: "${{ steps.export.outputs.archive_directory }}/-web.zip"
37 changes: 37 additions & 0 deletions export_presets.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[preset.0]

name="star-knight-web"
platform="Web"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../../../Desktop/index.html"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.0.options]

custom_template/debug=""
custom_template/release=""
variant/extensions_support=false
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color(0, 0, 0, 1)

0 comments on commit fcaf99c

Please sign in to comment.