mirror of
https://github.com/adoyle0/thaw.git
synced 2025-02-02 08:34:15 -05:00
Update demo.yml
This commit is contained in:
parent
7181d90e72
commit
063b27b28c
1 changed files with 7 additions and 10 deletions
17
.github/workflows/demo.yml
vendored
17
.github/workflows/demo.yml
vendored
|
@ -6,7 +6,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -17,10 +16,6 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -36,8 +31,10 @@ jobs:
|
||||||
cd demo
|
cd demo
|
||||||
trunk build --release
|
trunk build --release
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: npx vercel --token ${{ secrets.VERCEL_TOKEN }} --prod
|
uses: amondnet/vercel-action@v20
|
||||||
env:
|
with:
|
||||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
|
||||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||||
|
vercel-args: "--prod"
|
||||||
|
working-directory: demo/dist
|
||||||
|
|
Loading…
Add table
Reference in a new issue