add disclaimers to all entries #85
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: Build, and deploy | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Test and deploy | |
runs-on: ubuntu-latest | |
env: | |
SHOULD_DEPLOY: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v2 | |
- name: Install Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
cache: 'pip' | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Build the site with mkdocs | |
run: mkdocs build | |
- name: Deploy to Github Pages | |
if: fromJSON(env.SHOULD_DEPLOY) | |
run: mkdocs gh-deploy --force |