From daacfa7631a137d6de2d3af5201cca0bd7e31e8a Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 7 Oct 2024 19:55:41 +0600 Subject: [PATCH] Create sample.yml --- .github/workflows/sample.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/sample.yml diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml new file mode 100644 index 0000000..a615b3f --- /dev/null +++ b/.github/workflows/sample.yml @@ -0,0 +1,21 @@ +name: Publish KDocs +on: + push: + branches: + - master +jobs: + publishing: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 17 + - name: Build + run: ./gradlew jsBrowserDistribution + - name: Publish KDocs + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./sample/build/dist/js/productionExecutable + publish_branch: sample