Skip to content

Added workflow back in #4

Added workflow back in

Added workflow back in #4

name: Build and Deploy
on:
push:
branches:
- development
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
submodules: 'true'
- name: npm install
run: npm install
- name: Validate the source files 🔬
run: npm run validate
- name: Generate thumbnail images 🖨️
run: npm run thumbnails
- name: Install and Build 🔧
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec jekyll build --config _config.yml,_config_production.yml
- name: Deploy 🚀
uses: nicolelaine/github-pages-deploy-action@v4
with:
folder: _site # The folder the action should deploy.
branch: development