Skip to content

Merge pull request #48 from kintone/chore-update-dependencies #41

Merge pull request #48 from kintone/chore-update-dependencies

Merge pull request #48 from kintone/chore-update-dependencies #41

Workflow file for this run

name: Generate Javadoc files and publish
on:
push:
branches:
- master
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '8'
cache: 'gradle'
- name: Generate Javadoc
run: ./gradlew javadocUpdate
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2