Publish Action: Troubleshooting
All checks were successful
/ jekyll (push) Successful in 8s

This commit is contained in:
Bill Niblock 2025-07-17 12:06:03 -04:00
parent 1fd2d749ac
commit adc33d7417

View file

@ -14,23 +14,23 @@ jobs:
path: _site
- name: Setup Build Environment
run: |
echo "Current User: ${whoami}"
echo "Current User: $(whoami)"
mkdir .jekyll-cache && echo "Make Jekyll Cache Directory"
mkdir -p ${{ env.GITHUB_WORKSPACE }}/vendor/bundle && echo "Make Bundle Vendor Directory"
echo "Current Directory and Stats: $(ls -alh)"
mkdir .jekyll-cache && echo "Make Directory: ${PWD}/.jekyll-cache"
mkdir -p ${{ env.GITHUB_WORKSPACE }}/vendor/bundle
bundle config set deployment true
bundle install
- name: Build Site
run: jekyll build --trace
- name: Include the Codeberg pages .domains file
run: cp ${{ env.GITHUB_WORKSPACE }}/.domains ${{ env.GITHUB_WORKSPACE }}/_site/.domains
- name: Publish Site
run: |
cd _site
git config --global --add safe.directory /workspace/vagabond/ttrpg-compendium/_site
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
# bundle config set deployment true
# bundle install
# - name: Build Site
# run: jekyll build --trace
# - name: Include the Codeberg pages .domains file
# run: cp ${{ env.GITHUB_WORKSPACE }}/.domains ${{ env.GITHUB_WORKSPACE }}/_site/.domains
# - name: Publish Site
# run: |
# cd _site
# git config --global --add safe.directory /workspace/vagabond/ttrpg-compendium/_site
# 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