Skip to content

Merge branch 'main' of https://github.com/bncnijmegen/bncnijmegen.git… #17

Merge branch 'main' of https://github.com/bncnijmegen/bncnijmegen.git…

Merge branch 'main' of https://github.com/bncnijmegen/bncnijmegen.git… #17

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: ./