Skip to content

fix(tune): round fractional epoch in tune data points (#363) #111

fix(tune): round fractional epoch in tune data points (#363)

fix(tune): round fractional epoch in tune data points (#363) #111

Workflow file for this run

name: Build and deploy documentation
on:
workflow_dispatch:
release:
types: [published]
push:
branches: [ "main" ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: poetry install --no-interaction --all-extras
- name: Build documentation
env:
DOCS_URL_PREFIX: "/ibm-generative-ai"
run: |
poetry run poe docs --type build
touch documentation/build/.nojekyll
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "documentation/build"
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@v2