Updated docs of Sytem Time and Time Zone #3
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
name: FIDO-documentation build | |
on: | |
workflow_dispatch: | |
push: | |
branches: master | |
pull_request: | |
branches: [master, '*rel'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: scm checkout | |
uses: actions/checkout@v3 | |
- name: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install mkdocs-material mike | |
- name: build | |
run: mkdocs build | |
if: github.event_name == 'pull_request' | |
- name: deploy | |
run: | | |
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' | |
git fetch --all | |
git config user.name sdo-automation | |
git config user.email sdo-automation@intel.com | |
mike deploy latest -b gh-pages-multi -p | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} |