Skip to content

Bump mkdocs-git-revision-date-localized-plugin from 1.6.1 to 1.6.2 in… #431

Bump mkdocs-git-revision-date-localized-plugin from 1.6.1 to 1.6.2 in…

Bump mkdocs-git-revision-date-localized-plugin from 1.6.1 to 1.6.2 in… #431

Workflow file for this run

name: Publish DSS deployment documentation (on new release tag and master)
on:
push:
branches:
- master
tags:
# To modify to trigger the job for fork's releases
# Note: GitHub's filter pattern capabilities are limited[1], so this
# pattern matches more often than it should. A more correct regex would
# be the one found in scripts/tag.sh.
# [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- "interuss/dss/v[0-9]+.[0-9]+.[0-9]+-?*"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'interuss/dss'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: mkdocs-material-${{ env.cache_id }}
path: ~/.cache
restore-keys: |
mkdocs-material-
- run: |
pip install -r docs/requirements.txt
- if: ${{ github.ref_type == 'branch' }}
run: mike deploy --push dev
name: Deploy 'dev' deployment documentation from 'master' branch
- if: ${{ github.ref_type == 'tag' }}
run: |
VERSION=$(echo ${{ github.ref_name }} | sed -e "s/^interuss\/dss\/v//")
mike deploy --push --update-aliases $VERSION latest
mike set-default --push latest
name: Deploy new version of deployment documentation from tag