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