fix(installer): pytorch and ROCm versions are incompatible #1438
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a mostly a copy-paste from https://github.com/squidfunk/mkdocs-material/blob/master/docs/publishing-your-site.md | |
name: mkdocs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
env: | |
REPO_URL: '${{ github.server_url }}/${{ github.repository }}' | |
REPO_NAME: '${{ github.repository }}' | |
SITE_URL: 'https://${{ github.repository_owner }}.github.io/InvokeAI' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: pip | |
cache-dependency-path: pyproject.toml | |
- name: set cache id | |
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | |
- name: use cache | |
uses: actions/cache@v4 | |
with: | |
key: mkdocs-material-${{ env.cache_id }} | |
path: .cache | |
restore-keys: | | |
mkdocs-material- | |
- name: install dependencies | |
run: python -m pip install ".[docs]" | |
- name: build & deploy | |
run: mkdocs gh-deploy --force |