fix/adds tailwindcss to gh action
This commit is contained in:
parent
cfbf9742d9
commit
03fd5cad26
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@ -17,10 +17,17 @@ jobs:
|
|||||||
run: rustup target add wasm32-unknown-unknown
|
run: rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
# Build frontend
|
# Build frontend
|
||||||
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
- name: Install Tailwind CSS
|
||||||
|
run: npm install -D tailwindcss
|
||||||
|
working-directory: ./frontend
|
||||||
- name: Install trunk
|
- name: Install trunk
|
||||||
run: cargo install --locked trunk
|
run: cargo install trunk
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: trunk build --release --public-url /${{ github.event.repository.name }}
|
run: trunk build --release --no-config
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
# Deploy backend
|
# Deploy backend
|
||||||
@ -37,3 +44,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo shuttle login --api-key $SHUTTLE_TOKEN
|
cargo shuttle login --api-key $SHUTTLE_TOKEN
|
||||||
cargo shuttle deploy
|
cargo shuttle deploy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user