Skip to content

[ANDROSDK-1941] update fixed icon #3

[ANDROSDK-1941] update fixed icon

[ANDROSDK-1941] update fixed icon #3

Workflow file for this run

name: Deploy API docs
on:
push:
branches:
- master
- ANDROSDK-1941
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Change wrapper permission
run: chmod +x ./gradlew
- name: Build Java docs
run: ./gradlew :core:dokkaHtml -PremoveSnapshotSuffix
- name: Organize pages structure
run: |
mkdir _site && mkdir _site/api
cp -r core/build/dokka/html/* _site/api
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
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@v4