Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
name: Deploy Code to Release Branch 🚀
name: Deploy Jekyll site to Pages

on:
workflow_dispatch:
push:
branches: [ main ]

jobs:
build:
name: Push to Release Branch
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'

- name: Build site with Jekyll
run: bundle exec jekyll build

# Workflow dispatch event that pushes the current version to the release branch.
# From here the secondary production deployment workflow will trigger to build the dependencies.
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
branch: releases/v4
folder: .
clean: false
single-commit: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site