Skip to content

change image [build] #18

change image [build]

change image [build] #18

name: Build and Deploy
on: [push]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, '[build]') }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
- 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@v4
with:
branch: gh-pages
folder: build/
target-folder: ./