Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Aug 27, 2023
1 parent 145863b commit 99ad91e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy-docs-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy Docs Version
on:
workflow_dispatch:
inputs:
version:
type: choice
description: Docs Version
options:
- '2.0'
- '2.1'
- '3.0'
permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: v${{ inputs.version }}
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install poetry
- run: poetry install
- name: Setup doc deploy
run: |
git fetch origin gh-pages --depth=1
git config --global user.name Docs deploy
git config --global user.email [email protected]
- run: poetry run mike deploy --push ${{ inputs.version }}

0 comments on commit 99ad91e

Please sign in to comment.