Skip to content

update local lakes sites #652

update local lakes sites

update local lakes sites #652

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install requirements
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install pandoc
run: sudo apt-get install pandoc pandoc-citeproc
- name: Install requirements
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run make
run: make
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: output