Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Sep 8, 2024
1 parent 26c414c commit e3992d1
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,24 @@ 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
Expand Down

0 comments on commit e3992d1

Please sign in to comment.