Merge pull request #554 from nokia/proc-env #35
Workflow file for this run
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
# © 2022 Nokia. | |
# | |
# This code is a Contribution to the gNMIc project (“Work”) made under the Google Software Grant and Corporate Contributor License Agreement (“CLA”) and governed by the Apache License 2.0. | |
# No other rights or licenses in or to any of Nokia’s intellectual property are granted for any other purpose. | |
# This code is provided on an “as is” basis without any warranties of any kind. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "docs-*" | |
tags: | |
- "v*" | |
env: | |
MKDOCS_MATERIAL_VER: 8.3.4 | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: docker run -v $(pwd):/docs --entrypoint ash squidfunk/mkdocs-material:${MKDOCS_MATERIAL_VER} -c 'git config --global --add safe.directory /docs; mkdocs gh-deploy --force --strict' |