diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index bd8020c..2127a14 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -14,22 +14,21 @@ jobs: path: _site - name: Setup Build Environment run: | - echo "Current User: $(whoami)" mkdir .jekyll-cache && echo "Make Jekyll Cache Directory" mkdir -p ${{ env.GITHUB_WORKSPACE }}/vendor/bundle && echo "Make Bundle Vendor Directory" bundle config set frozen 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 + - name: Build Site + run: | + jekyll build --trace + 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