Skip to content

Update index.md [build] #2

Update index.md [build]

Update index.md [build] #2

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/[email protected]
with:
branch: gh-pages
folder: _stuffpages/html/
target-folder: ./