Skip to content

Commit 7c5a2b4

Browse files
committed
2 parents b828ab7 + b3a9beb commit 7c5a2b4

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Deploy
22
on:
33
push:
4-
branches: main
4+
branches: v2
55
pull_request:
6-
branches: main
6+
branches: v2
77

88
jobs:
99
deploy:
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Install Deno
22-
uses: denoland/setup-deno@v1
22+
uses: denoland/setup-deno@v2
2323
with:
2424
deno-version: v1.x
2525

@@ -28,18 +28,17 @@ jobs:
2828
with:
2929
node-version: lts/*
3030

31-
- name: Install pnpm
32-
run: "npm install -g pnpm"
33-
3431
- name: Install step
35-
run: "pnpm install"
32+
run: "npm install --legacy-peer-deps"
3633

3734
- name: Build step
38-
run: "pnpm run build"
35+
run: "npm run build"
3936

4037
- name: Upload to Deno Deploy
4138
uses: denoland/deployctl@v1
4239
with:
4340
project: "bernardolc-portfolio"
4441
entrypoint: "server/entry.mjs"
4542
root: "dist"
43+
44+

0 commit comments

Comments
 (0)