ttrpg-compendium/.forgejo/workflows/publish.yaml
Bill Niblock 3e56cec0f2
Some checks failed
/ jekyll (push) Failing after 15s
Attempt automated publish to pages branch
2024-06-14 13:14:09 -04:00

30 lines
778 B
YAML

on: [push]
jobs:
jekyll:
runs-on: docker
container:
image: jvconseil/jekyll-docker
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Checkout built site
uses: actions/checkout@v4
with:
ref: pages
path: '_site'
- name: Setup cache directory
run: mkdir .jekyll-cache
- name: Install dependencies
run: bundle install
- name: Build the site
run: jekyll build --trace
- name: Publish
run: |
cd _site
touch .nojekyll
git config user.name "Scribe"
git config user.email "scribe@niblock.tech"
git add -A
git status
git commit -m "Automated Publish"
git push