From 26c462943904a614a62529f2f876b55128160eeb Mon Sep 17 00:00:00 2001 From: "deno-deploy[bot]" <75045203+deno-deploy[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 07:35:33 +0000 Subject: [PATCH] [Deno Deploy] Update .github/workflows/deploy.yml --- .github/workflows/deploy.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4255730db..651904f74 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy main to Deno Deploy +name: Deploy on: push: branches: main @@ -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 \ No newline at end of file + project: "credebl-dev-ui" + entrypoint: "server/entry.mjs" + root: "dist" + +