Readme: mention "update appList" gradle task #5
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
name: Release web page | |
on: | |
push: | |
branches: | |
- next-version | |
jobs: | |
release_webpage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: gradle | |
- name: Build production web page | |
run: ./gradlew jsBrowserProductionWebpack | |
- name: Package production web page | |
run: ./gradlew jsBrowserDistribution | |
- name: Publish to gh-pages | |
run: | | |
git worktree add --detach docs-temp | |
cd docs-temp | |
git checkout --orphan gh-pages | |
git reset HEAD -- . | |
git clean -df | |
mv ../build/dist/js/productionExecutable/* . | |
git status | |
git config --global user.email "[email protected]" | |
git config --global user.name "OPENRNDR Actions" | |
git add . | |
git commit -m "Add automatically generated web page" | |
git push origin gh-pages --force |