Skip to content

Pivot PyPI publishing to use trusted publishers (#1001) #401

Pivot PyPI publishing to use trusted publishers (#1001)

Pivot PyPI publishing to use trusted publishers (#1001) #401

Workflow file for this run

name: Docs Publish
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
deploy:
if: github.repository_owner == 'Qiskit'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U virtualenv setuptools wheel tox
sudo apt-get install graphviz pandoc
- name: Build and publish
env:
encrypted_rclone_key: ${{ secrets.encrypted_rclone_key }}
encrypted_rclone_iv: ${{ secrets.encrypted_rclone_iv }}
run: |
tools/deploy_documentation_dev.sh