25 lines
538 B
YAML
25 lines
538 B
YAML
---
|
|
|
|
name: Build site
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
- name: Setup Jekyll
|
|
uses: https://git.ttnrtsite.me/actions/jekyll@main
|
|
- name: Build site
|
|
run: bundle install && bundle exec jekyll build
|
|
- name: Install git
|
|
run: apt install git -y
|
|
- name: Publish site
|
|
uses: https://git.ttnrtsite.me/actions/ttpages@main
|
|
with:
|
|
path: _site |