Skip to content

Commit

Permalink
Added workflow back in
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolelaine committed Apr 13, 2024
1 parent ae8b2d8 commit 105d81a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit 105d81a

Please sign in to comment.