diff --git a/.github/workflows/game_web_ci.yml b/.github/workflows/game_web_ci.yml index 36d4c76..3a2c149 100644 --- a/.github/workflows/game_web_ci.yml +++ b/.github/workflows/game_web_ci.yml @@ -75,40 +75,6 @@ jobs: with: name: game_linux path: build/linux/game_linux.zip - runs-on: ubuntu-latest - permissions: - contents: write - container: - image: barichello/godot-ci:4.1.2 - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Move export templates into position - 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: Create staging directory - run: mkdir -v -p build/web - - - name: Build - run: godot -v --export-release --headless "Web" - - - name: Add coi-service-worker - run: | - git clone https://github.com/gzuidhof/coi-serviceworker.git - mv coi-serviceworker/coi-serviceworker.js build/web/coi-serviceworker.js - sed -i '3 i ' build/web/index.html - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3.9.3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build/web - force_orphan: true - user_name: "github-ci[bot]" - user_email: "github-actions[bot]@users.noreply.github.com" - commit_message: "UPDATE GITHUB PAGES" windows: runs-on: ubuntu-latest permissions: