rf/moves to official shuttle-hq action
This commit is contained in:
parent
a601280976
commit
2a77e21a5e
21
.github/workflows/deploy.yml
vendored
21
.github/workflows/deploy.yml
vendored
@ -24,11 +24,11 @@ jobs:
|
|||||||
- name: Install Tailwind CSS
|
- name: Install Tailwind CSS
|
||||||
run: npm install -D tailwindcss
|
run: npm install -D tailwindcss
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
- name: Install trunk
|
||||||
|
run: cargo install trunk
|
||||||
- name: Rename Trunk.toml
|
- name: Rename Trunk.toml
|
||||||
run: mv Trunk.toml Trunk.bkp
|
run: mv Trunk.toml Trunk.bkp
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
- name: Install trunk
|
|
||||||
run: cargo install trunk
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: trunk build --release
|
run: trunk build --release
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
@ -43,11 +43,14 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Install cargo-shuttle
|
- name: Install cargo-shuttle
|
||||||
run: cargo install --locked cargo-shuttle
|
- uses: shuttle-hq/deploy-action@main
|
||||||
- name: Deploy to Shuttle
|
with:
|
||||||
env:
|
deploy-key: ${{ secrets.SHUTTLE_TOKEN }}
|
||||||
SHUTTLE_TOKEN: ${{ secrets.SHUTTLE_TOKEN }}
|
# run: cargo install --locked cargo-shuttle
|
||||||
run: |
|
# - name: Deploy to Shuttle
|
||||||
cargo shuttle login --api-key $SHUTTLE_TOKEN
|
# env:
|
||||||
cargo shuttle deploy
|
# SHUTTLE_TOKEN: ${{ secrets.SHUTTLE_TOKEN }}
|
||||||
|
# run: |
|
||||||
|
# cargo shuttle login --api-key $SHUTTLE_TOKEN
|
||||||
|
# cargo shuttle deploy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user