ci/depoly: use new workflow
All checks were successful
/ depoly (push) Successful in 2m33s

This commit is contained in:
thislight 2024-07-14 21:18:28 +08:00
parent 1612788a9c
commit 149aa56cb8
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
2 changed files with 6 additions and 6 deletions

View file

@ -3,17 +3,14 @@ on: ['push']
jobs:
depoly:
runs-on: linux
container:
image: code.lightstands.xyz/standcoded/fedora:40
runs-on: fedora-40
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
run: |
corepack enable
corepack prepare pnpm@latest-9 --activate
corepack install
pnpm config set store-dir /tmp/pnpm-store
- name: Cache Dependencies
@ -26,6 +23,9 @@ jobs:
- name: Install Dependencies
run: pnpm i
- name: Build Dist
run: pnpm dist
- name: Depoly to Cloudflare
uses: https://github.com/cloudflare/wrangler-action@v3
with:

View file

@ -8,7 +8,7 @@
"scripts": {
"dev": "vite --host 0.0.0.0",
"preview": "vite preview",
"prepare": "vite build"
"dist": "vite build"
},
"keywords": [],
"author": "Rubicon",