Skip to content

Add workflow step to deploy to GitHub Pages #51

Add workflow step to deploy to GitHub Pages

Add workflow step to deploy to GitHub Pages #51

Workflow file for this run

name: Website CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the website
run: docker-compose run --rm middleman bundle exec middleman build
- name: Deploy the website
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build