Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Merge pull request #141 from nvnieuwk/move-json-validator #65

Merge pull request #141 from nvnieuwk/move-json-validator

Merge pull request #141 from nvnieuwk/move-json-validator #65

Workflow file for this run

name: build docs
on:
push:
branches:
- master
- main
- dev
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Obtain version from MANIFEST.MF
run: echo "plugin_version=$(grep "Plugin-Version" plugins/nf-validation/src/resources/META-INF/MANIFEST.MF | awk '{print $2}' | awk -F '.' '{print $1"."$2}')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material pymdown-extensions pillow cairosvg mike
- run: mike deploy --push --update-aliases ${{ env.plugin_version }} latest