ttrpg-compendium/.forgejo/workflows/publish.yaml
Bill Niblock ec787a3889
All checks were successful
/ jekyll (push) Successful in 15s
Trying to fix actions
2024-06-14 16:48:13 -04:00

35 lines
991 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: Check source status
run: |
git status
- name: Check site status
run: |
cd _site
git config --global --add safe.directory /workspace/vagabond/ttrpg-compendium/_site
git status
# touch .nojekyll
# git config user.name "Scribe [bot]"
# git config user.email "scribe@niblock.tech"
# git add -A
# git status
# git commit -m "Automated Publish"
# git push