feat(task-services): Add task related queries and mutations (#41) #29
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
name: Docs latest and released versions | |
on: | |
push: | |
branches: | |
- "v*.*" | |
- main | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
name: Build and Deploy Job | |
permissions: | |
contents: write | |
pull-requests: write | |
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 scripts/build_tutorial.sh && \ | |
poetry run mike deploy --push ${{ steps.extract_branch.outputs.branch }} |