Merge pull request #41 from ULHPC/castroloj-patch-1 #64
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
# -*- mode: yaml; -*- | |
# Time-stamp: <Tue 2022-08-30 14:59 svarrette> | |
################################################################################ | |
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
# | |
name: deploy | |
on: | |
push: | |
branches: | |
- master | |
- production | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
mkdocs --version | |
- name: build ULHPC documentation | |
run: mkdocs build && mkdocs gh-deploy --force | |
# run: mkdocs build --strict && mkdocs gh-deploy --force |