From 54654cef4bede1e1125b66d628e93914512025eb Mon Sep 17 00:00:00 2001 From: Florian Klampfer Date: Sun, 8 Sep 2024 15:30:13 +0700 Subject: [PATCH] Revert "Update workflow" This reverts commit e3992d13ef598b7b3eb1868525eb75c50f494d3e. --- .github/workflows/jekyll.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 8ad20da..bf548b6 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,24 +34,23 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - # submodules: true - # token: ${{ secrets.JEKYLL_PAT }} + submodules: true + token: ${{ secrets.JEKYLL_PAT }} - name: Setup Ruby uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems - # - name: Set up Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: 16 - # - name: Build Jekyll Theme Hydejack - # run: cd ./#jekyll-theme-hydejack && npm i && npm run build + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 16 + - name: Build Jekyll Theme Hydejack + run: cd ./#jekyll-theme-hydejack && npm i && npm run build - name: Build with Jekyll run: bundle exec jekyll build --destination ./build env: JEKYLL_ENV: production - BUNDLE_GITHUB__COM: x-access-token:${{ secrets.GH_REPO_PAT }} #!! - name: Publish to Cloudflare Pages uses: cloudflare/wrangler-action@v3 id: deploy