ci/depoly: use new workflow
This commit is contained in:
parent
ea0e5cdd9c
commit
b9697a684d
2 changed files with 6 additions and 6 deletions
|
@ -3,17 +3,14 @@ on: ['push']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
depoly:
|
depoly:
|
||||||
runs-on: linux
|
runs-on: fedora-40
|
||||||
container:
|
|
||||||
image: code.lightstands.xyz/standcoded/fedora:40
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
run: |
|
run: |
|
||||||
corepack enable
|
corepack install
|
||||||
corepack prepare pnpm@latest-9 --activate
|
|
||||||
pnpm config set store-dir /tmp/pnpm-store
|
pnpm config set store-dir /tmp/pnpm-store
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
|
@ -26,6 +23,9 @@ jobs:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm i
|
run: pnpm i
|
||||||
|
|
||||||
|
- name: Build Dist
|
||||||
|
run: pnpm dist
|
||||||
|
|
||||||
- name: Depoly to Cloudflare
|
- name: Depoly to Cloudflare
|
||||||
uses: https://github.com/cloudflare/wrangler-action@v3
|
uses: https://github.com/cloudflare/wrangler-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host 0.0.0.0",
|
"dev": "vite --host 0.0.0.0",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"prepare": "vite build"
|
"dist": "vite build"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Rubicon",
|
"author": "Rubicon",
|
||||||
|
|
Loading…
Reference in a new issue