Skip to content

Update release.yml

Update release.yml #4

Workflow file for this run

name: release
on:
push:
branches: [ master, develop ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: set up JDK 17
# uses: actions/setup-java@v4
# with:
# java-version: '17'
# distribution: 'temurin'
# cache: gradle
- run: chmod +x gradlew
- run: ./gradlew dokkaHtml
- name: Deploy docs to website
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-page
FOLDER: yls/build/dokka/html/
TARGET_FOLDER: docs/0.x/