Skip to content

Commit

Permalink
Fix tailwind in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay committed Aug 29, 2024
1 parent 5562859 commit 4bd333e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ jobs:
# Install a tool that makes it quicker to install other tools.
- uses: cargo-bins/cargo-binstall@main

# Install the Dioxus CLI
- name: Install Dioxus
# TODO: rm this after new dx binstall released
# run: cargo binstall dioxus-cli -y --force
run: cargo install --git https://github.com/DioxusLabs/dioxus.git dioxus-cli --locked

# Compile CSS
- name: Compile css
working-directory: app
run: npx tailwindcss --minify --input ./input.css --output ./assets/tailwind.css
run: npm ci ; npx tailwindcss --minify --input ./input.css --output ./assets/tailwind.css

# dotenvy requires this
- run: cp .env.example .env

# Install the Dioxus CLI
- name: Install Dioxus
# TODO: rm this after new dx binstall released
# run: cargo binstall dioxus-cli -y --force
run: cargo install --git https://github.com/DioxusLabs/dioxus.git dioxus-cli --locked

# Build our Dioxus app in release.
- name: Build app
working-directory: app
Expand Down

0 comments on commit 4bd333e

Please sign in to comment.