diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 36a34d2..ab64b03 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -5,18 +5,20 @@ jobs: container: image: jvconseil/jekyll-docker:stable steps: - - name: Checkout source + - name: Checkout Source Repository uses: actions/checkout@v4 - - name: Checkout built site + - name: Checkout Pages Branch to Build Directory uses: actions/checkout@v4 with: ref: pages path: _site - - name: Setup cache directory - run: mkdir .jekyll-cache - - name: Install dependencies - run: bundle install --deployment - - name: Build the site + - name: Setup Build Environment + run: | + mkdir .jekyll-cache + mkdir -p 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