Skip to content

Commit

Permalink
Update Deploy JS
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Mar 2, 2024
1 parent bd79e2c commit 130b352
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/deploy-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ jobs:
- { name: Set up JDK, uses: actions/setup-java@v3, with: { distribution: "${{ env.JAVA_DISTRIBUTION }}", java-version: "${{ env.JAVA_VERSION }}" } }
- { name: Prepare Gradle, uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc } # v2.8.0
- { name: Buid JS bundle, run: ./gradlew jsBrowserProductionWebpack }
- name: Deploy 🚀 to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: github-pages # The branch the action should deploy to.
FOLDER: build/dist/js/productionExecutable # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
- { name: Upload artifact, uses: actions/upload-pages-artifact@v3, with: { path: 'build/dist/js/productionExecutable' } }
- { name: Deploy 🚀 to GitHub Pages, id: deployment, uses: actions/deploy-pages@v4}

0 comments on commit 130b352

Please sign in to comment.