Skip to content

Add env variable overrides to config.rb #111

Add env variable overrides to config.rb

Add env variable overrides to config.rb #111

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
concurrency: production
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Build
run: bundle exec middleman build
- name: Upload
uses: actions/upload-pages-artifact@v1
with:
path: build/
deploy:
name: Deploy site
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2