Skip to content

Merge branch 'develop' #32

Merge branch 'develop'

Merge branch 'develop' #32

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Build theme with node
run: |
cd ${{ github.workspace }}/site/_themes
yarn install --frozen-lockfile
yarn build
rm -rf ../assets/js/themes
mv dist/themes.html ../_includes/themes.html
mv dist ../assets/js/themes
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
- name: Build page with Jekyll
run: bundle exec jekyll build
- name: Checkout gh-pages branch
uses: actions/checkout@v3
with:
ref: 'gh-pages'
path: './gh-pages'
- name: Move versions to _gh_pages
run: |
mv gh-pages/versions _gh_pages
rm -rf gh-pages
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: _gh_pages