Update prod.yml
This commit is contained in:
parent
b7b7fe720c
commit
ce10b72e44
13
.github/workflows/prod.yml
vendored
13
.github/workflows/prod.yml
vendored
@ -18,7 +18,10 @@ jobs:
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
toolchain: nightly
|
||||
|
||||
- name: add rust target wasm32-unknown-unknown
|
||||
run: rustup target add wasm32-unknown-unknown
|
||||
|
||||
- name: cache trunk
|
||||
uses: actions/cache@v4
|
||||
@ -39,9 +42,6 @@ jobs:
|
||||
node_modules/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock') }}
|
||||
restore-keys: ${{ runner.os }}-cargo-wordl
|
||||
|
||||
- name: add rust target wasm32-unknown-unknown
|
||||
run: rustup target add wasm32-unknown-unknown
|
||||
|
||||
- name: install trunk
|
||||
run: cargo install trunk
|
||||
@ -54,9 +54,6 @@ jobs:
|
||||
- name: install tailwindcss
|
||||
run: npm install -g tailwindcss
|
||||
|
||||
# - name: list frontend dir (pre build) [DEBUG]
|
||||
# run: ls -la ./frontend/dist
|
||||
|
||||
- name: build frontend
|
||||
working-directory: ./frontend/
|
||||
run: |
|
||||
@ -97,6 +94,6 @@ jobs:
|
||||
|
||||
- uses: shuttle-hq/deploy-action@main
|
||||
with:
|
||||
# allow-dirty: "true"
|
||||
allow-dirty: "true"
|
||||
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
|
||||
working-directory: .
|
||||
|
Loading…
x
Reference in New Issue
Block a user