add web publish step

This commit is contained in:
InsanusMokrassar 2021-03-02 13:53:12 +06:00
parent 881d268ea9
commit 2bbfe99ff4

View File

@ -16,7 +16,13 @@ jobs:
- name: Set version from gradle.properties
run: echo "version=` cat gradle.properties | grep ^version= | grep -o [\\.0-9]* `" >> $GITHUB_ENV
- name: Build
run: ./gradlew packageUberJarForCurrentOS
run: ./gradlew build packageUberJarForCurrentOS
- name: Publish Web
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./web/build/distributions
publish_branch: site
- name: Create Release
id: create_release
uses: actions/create-release@v1