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