Skip to content

Try using a deploy action instead #8

Try using a deploy action instead

Try using a deploy action instead #8

Workflow file for this run

name: Build
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Build
run: bundle exec middleman build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.
branch: gh-pages # The branch the action should deploy to.