From 2bbfe99ff4f7e8687ab6dd82073451bb147f1aa7 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 2 Mar 2021 13:53:12 +0600 Subject: [PATCH] add web publish step --- .github/workflows/commit-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit-release.yml b/.github/workflows/commit-release.yml index 96a1667..5f36de2 100644 --- a/.github/workflows/commit-release.yml +++ b/.github/workflows/commit-release.yml @@ -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