Skip to content

Commit

Permalink
[Deno Deploy] Add .github/workflows/deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deno-deploy[bot] authored Mar 23, 2024
1 parent c53ae94 commit 9acfe49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy
on:
push:
branches: [main]
branches: main
pull_request:
branches: main

Expand All @@ -16,18 +16,19 @@ jobs:

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
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: "."

0 comments on commit 9acfe49

Please sign in to comment.