From 9acfe492365453abe3cf2bb53e0256679d204e58 Mon Sep 17 00:00:00 2001 From: "deno-deploy[bot]" <75045203+deno-deploy[bot]@users.noreply.github.com> Date: Sat, 23 Mar 2024 15:33:45 +0000 Subject: [PATCH] [Deno Deploy] Add .github/workflows/deploy.yml --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index be54dc3..89db8d5 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: "fresh-webcomponents" - entrypoint: "./main.ts" # 📝 Update the entrypoint if necessary + entrypoint: "main.ts" + root: "."