-
Notifications
You must be signed in to change notification settings - Fork 13
32 lines (32 loc) · 1014 Bytes
/
deploy.yml
File metadata and controls
32 lines (32 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- 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@v4
- name: Read Python
id: pyversion
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '${{ env.PYTHON_VERSION }}'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --requirement requirements.txt
mkdocs --version
- name: build ULHPC documentation
run: mkdocs build && mkdocs gh-deploy --force
# run: mkdocs build --strict && mkdocs gh-deploy --force