Skip to content

Merge pull request #20 from ibpsa/dependabot/pip/jinja2-3.1.3 #58

Merge pull request #20 from ibpsa/dependabot/pip/jinja2-3.1.3

Merge pull request #20 from ibpsa/dependabot/pip/jinja2-3.1.3 #58

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
name: Set up Python
- run: |
python --version
python -m pip install --upgrade pip
pip install -r requirements.txt
name: Install requirements
- run: python run.py data/* ./web
name: Build html pages
- run: cp -r content/images web
name: Copy content/images/*
- uses: peaceiris/actions-gh-pages@v3
name: Deploy to GitHub Pages
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./web