Skip to content

final messaging fix - migrated to current promise based version of op… #45

final messaging fix - migrated to current promise based version of op…

final messaging fix - migrated to current promise based version of op… #45

Workflow file for this run

name: build and deploy mkdocs to github pages
on:
push:
branches:
- master
- mkdocs-update
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
architecture: 'x64'
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
# todo: move to action
- name: Setup plantuml with deps
run: DEBIAN_FRONTEND=noninteractive sudo apt-get -yq install plantuml graphviz
# commenting for now: use this if we start running tests via gh-actions!
# for now, only mkdocs is required - no need to install/cache all requirements
# - name: Cache dependencies
# uses: actions/cache@v1
# with:
# path: ~/.cache/pip
# key: $-pip-$
# restore-keys: |
# $-pip-
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -U pipenv
pipenv sync
- name: Build site
run: pipenv run mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.0
with:
publish_dir: ./site
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages