Skip to content

Merge pull request #30 from oceanmodeling/feature/restructure #13

Merge pull request #30 from oceanmodeling/feature/restructure

Merge pull request #30 from oceanmodeling/feature/restructure #13

# Github CD workflow file for building SCHISM-ESMF documentation
#
# SPDX-FileCopyrightText: 2022 SCHISM development team
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileContributor Jamal Uddin Khan
# SPDX-FileContributor Carsten Lemmen <[email protected]
name: stable documentation
on:
push:
branches:
- master
- docs
jobs:
deploy:
runs-on: ubuntu-latest
on:

Check failure on line 16 in .github/workflows/build_docs_latest.yml

View workflow run for this annotation

GitHub Actions / stable documentation

Invalid workflow file

The workflow is not valid. .github/workflows/build_docs_latest.yml (Line: 16, Col: 5): Unexpected value 'on'
push:
paths:
- 'doc/*md'
- mkdocs.yml
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install python packages
run: pip install mkdocs-material==8.3.4 mike
- 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: Get tag of the version
uses: olegtarasov/[email protected]
id: tag_name
- name: Deploy with mike
run: |
mike deploy --force --update-aliases master stable
mike retitle master stable
mike set-default --push stable