Skip to content

Add files via upload #3

Add files via upload

Add files via upload #3

name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, '[build]') }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install -U pip
pip install setuptools wheel
- name: Install StuffPages
run: |
python -m pip install stuffpages
- name: Build
run: |
stuffpages build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: build/
target-folder: ./