diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 7372bb1..c06b862 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -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