Skip to content

[MERGE] #255 -> develop #39

[MERGE] #255 -> develop

[MERGE] #255 -> develop #39

Workflow file for this run

name: TerningPoint DesignSystem CI
on:
push:
branches: [ develop ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up JDK 18
uses: actions/setup-java@v4
with:
java-version: 18
distribution: "temurin"
- name: Change gradlew permissions
run: chmod +x gradlew
- name: Create Local Properties
run: touch local.properties
- name: Set Local Properties
env:
BASE_URL: ${{ secrets.BASE_URL }}
TEST_BASE_URL: ${{ secrets.TEST_BASE_URL }}
NATIVE_APP_KEY: ${{ secrets.NATIVE_APP_KEY }}
NATIVEAPPKEY: ${{ secrets.NATIVEAPPKEY }}
run: |
echo base.url=\"$BASE_URL\" >> local.properties
echo test.base.url=\"$TEST_BASE_URL\" >> local.properties
echo native.app.key=\"$NATIVE_APP_KEY\" >> local.properties
echo nativeAppKey=\"$NATIVEAPPKEY\" >> local.properties
- name: Build Documentation
run: ./gradlew dokkaHtml
- name: Deploy Documentation to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
FOLDER: core/build/dokka/html