generated from krampus/template-godot4
fix web builds
This commit is contained in:
parent
85458e840c
commit
da3a615d4c
@ -50,6 +50,10 @@ jobs:
|
|||||||
echo "building to $BUILD_DIR"
|
echo "building to $BUILD_DIR"
|
||||||
mkdir -p $BUILD_DIR
|
mkdir -p $BUILD_DIR
|
||||||
godot --headless --export-debug ${{ matrix.target }} $BUILD_DIR/${{ vars.ITCH_GAME }}.${{ matrix.type }}
|
godot --headless --export-debug ${{ matrix.target }} $BUILD_DIR/${{ vars.ITCH_GAME }}.${{ matrix.type }}
|
||||||
|
- name: Package for web
|
||||||
|
if: ${{ matrix.target == 'web' }}
|
||||||
|
run: |
|
||||||
|
mv $BUILD_DIR/${{ vars.ITCH_GAME }}.html $BUILD_DIR/index.html
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
echo "pushing $BUILD_DIR"
|
echo "pushing $BUILD_DIR"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user