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 path: _site
- name: Setup Build Environment - name: Setup Build Environment
run: | 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)" echo "Current Directory and Stats: $(ls -alh)"
mkdir .jekyll-cache && echo "Make Directory: ${PWD}/.jekyll-cache" # bundle config set deployment true
mkdir -p ${{ env.GITHUB_WORKSPACE }}/vendor/bundle # bundle install
bundle config set deployment true # - name: Build Site
bundle install # run: jekyll build --trace
- name: Build Site # - name: Include the Codeberg pages .domains file
run: jekyll build --trace # run: cp ${{ env.GITHUB_WORKSPACE }}/.domains ${{ env.GITHUB_WORKSPACE }}/_site/.domains
- name: Include the Codeberg pages .domains file # - name: Publish Site
run: cp ${{ env.GITHUB_WORKSPACE }}/.domains ${{ env.GITHUB_WORKSPACE }}/_site/.domains # run: |
- name: Publish Site # cd _site
run: | # git config --global --add safe.directory /workspace/vagabond/ttrpg-compendium/_site
cd _site # git config user.name "Scribe [bot]"
git config --global --add safe.directory /workspace/vagabond/ttrpg-compendium/_site # git config user.email "scribe@niblock.tech"
git config user.name "Scribe [bot]" # git add -A .
git config user.email "scribe@niblock.tech" # git status
git add -A . # git commit -m "Automated Publish"
git status # git push
git commit -m "Automated Publish"
git push