Skip to content

Commit

Permalink
fix(ci): add tailwind css build
Browse files Browse the repository at this point in the history
  • Loading branch information
cestef committed Jan 25, 2025
1 parent 89a5ece commit f93adf9
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Homebrew
id: set-up-homebrew
Expand All @@ -20,6 +20,19 @@ jobs:
with:
tools: cestef/tap/zola svgo

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install

- name: Cache Zola build
uses: actions/cache@v3
with:
Expand All @@ -30,9 +43,15 @@ jobs:
restore-keys: |
${{ runner.os }}-zola-
- name: Build site
- name: Build Tailwind CSS
run: pnpm run css:build

- name: Build Zola site
run: zola build

- name: Display structure of built files
run: ls -R public

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f93adf9

Please sign in to comment.