Skip to content

Commit

Permalink
Build assets
Browse files Browse the repository at this point in the history
  • Loading branch information
yaodong committed Aug 11, 2024
1 parent ab50177 commit d8d55a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/jekyll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,24 @@ jobs:
# Increment this number if you need to re-download cached gems
cache-version: 0

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: '1.0.35'

- name: Install Packages
run: bun install

- name: Build Assets
env:
NODE_ENV: production
run: bun run build:css

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
Expand Down

0 comments on commit d8d55a3

Please sign in to comment.