-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added workflow for build and deploy
- Loading branch information
Raffaele Lungarella
committed
Jul 22, 2024
1 parent
365fe90
commit fcaf99c
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |