This commit is contained in:
itsscb 2024-06-01 00:23:09 +02:00
parent 2a77e21a5e
commit 2b5fed7411

View File

@ -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
@ -42,8 +42,8 @@ jobs:
with: with:
toolchain: stable toolchain: stable
override: true override: true
- name: Install cargo-shuttle - name: Deploy to shuttle.rs
- uses: shuttle-hq/deploy-action@main uses: shuttle-hq/deploy-action@main
with: with:
deploy-key: ${{ secrets.SHUTTLE_TOKEN }} deploy-key: ${{ secrets.SHUTTLE_TOKEN }}
# run: cargo install --locked cargo-shuttle # run: cargo install --locked cargo-shuttle
@ -53,4 +53,3 @@ jobs:
# run: | # run: |
# cargo shuttle login --api-key $SHUTTLE_TOKEN # cargo shuttle login --api-key $SHUTTLE_TOKEN
# cargo shuttle deploy # cargo shuttle deploy