Skip to content

fix(database): Add new database migration script with the recent chan… #104

fix(database): Add new database migration script with the recent chan…

fix(database): Add new database migration script with the recent chan… #104

Workflow file for this run

name: Docs latest and released versions
on:
push:
branches:
- "v*.*"
- main
jobs:
build_docs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.5.1
- name: Install packages
run: |
poetry install
- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Build docs
run: |
poetry run mike deploy --push ${{ steps.extract_branch.outputs.branch }}