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" + +