Skip to content

release tensorflow pin in RAI vision and text package tests which was added last year to fix huggingface transformer models #9020

release tensorflow pin in RAI vision and text package tests which was added last year to fix huggingface transformer models

release tensorflow pin in RAI vision and text package tests which was added last year to fix huggingface transformer models #9020

Workflow file for this run

name: GitHub Pages
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
website-build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install ./
working-directory: raiwidgets
- name: Build
run: make html
working-directory: ./docs
- name: Disable jekyll builds
# By default GitHub attempts jekyll builds.
# Instead, we want the webpage to just point at index.html
run: touch docs/build/html/.nojekyll
- name: Create CNAME file
run: echo "erroranalysis.ai" > docs/build/html/CNAME
- name: Deploy
# only deploy if this is a push event on main
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html