From 45c0cc1d6bd1cca692bdf12dea0b54de2974fe51 Mon Sep 17 00:00:00 2001 From: "deno-deploy[bot]" <75045203+deno-deploy[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:25:14 +0000 Subject: [PATCH] [Deno Deploy] Add .github/workflows/deploy.yml --- .github/workflows/deploy.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a2bed15..ff08fc7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,7 @@ name: Deploy on: push: - branches: [main] + branches: main pull_request: branches: main @@ -16,7 +16,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Install Deno uses: denoland/setup-deno@v1 @@ -24,10 +24,11 @@ jobs: deno-version: v1.x - name: Build step - run: "deno task build" # 📝 Update the build command(s) if necessary + run: "deno task build" - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: - project: "echo-echo" # 📝 Update the deploy project name if necessary - entrypoint: "./main.ts" # 📝 Update the entrypoint if necessary + project: "echo-echo" + entrypoint: "/main.ts" + root: "."