Skip to content

Merge pull request #54 from ginzarb/direct-upload-from-source-branch #24

Merge pull request #54 from ginzarb/direct-upload-from-source-branch

Merge pull request #54 from ginzarb/direct-upload-from-source-branch #24

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- source
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3
- name: Build with Middleman
run: bundle exec middleman build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "build/"
deploy:
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4