Skip to content

[Infra] Fix docs deployment on new tag #10

[Infra] Fix docs deployment on new tag

[Infra] Fix docs deployment on new tag #10

Workflow file for this run

name: Debug
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
jobs:
deploy_docs:
name: Deploy Qadence docs (ubuntu)
runs-on: ubuntu-latest
steps:
- name: Checkout Qadence
uses: actions/checkout@v4
- name: Install JetBrains Mono font
run: |
sudo apt install -y wget unzip fontconfig
wget https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip
unzip JetBrainsMono-2.304.zip -d JetBrainsMono
mkdir -p /usr/share/fonts/truetype/jetbrains
cp JetBrainsMono/fonts/ttf/*.ttf /usr/share/fonts/truetype/jetbrains/
fc-cache -f -v
- name: Install graphviz
run: sudo apt-get install -y graphviz
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Hatch
run: |
pip install hatch
- name: Deploy docs
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
hatch -v run docs:mike deploy --push --rebase --update-aliases ${{ github.ref_name }} latest