Skip to content

Commit

Permalink
[Deno Deploy] Update .github/workflows/deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deno-deploy[bot] authored Nov 27, 2024
1 parent 5a2e64a commit 26c4629
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy main to Deno Deploy
name: Deploy
on:
push:
branches: main
Expand All @@ -16,24 +16,29 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install step
run: "npm install"

- name: Build step
run: "npm install && npm run build" # 📝 Update the build command(s) if necessary
run: "npm run build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "credebl-studio"
entrypoint: "server/entry.mjs" # 📝 Update the entrypoint if necessary
root: "dist" # 📝 Update the root if necessary
project: "credebl-dev-ui"
entrypoint: "server/entry.mjs"
root: "dist"


0 comments on commit 26c4629

Please sign in to comment.