Skip to content

Commit

Permalink
[Deno Deploy] Update .github/workflows/deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deno-deploy[bot] authored Dec 27, 2024
1 parent ec3bece commit 39fd1a6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy
on:
push:
branches: main
branches: channel/v1
pull_request:
branches: main
branches: channel/v1

jobs:
deploy:
Expand All @@ -16,22 +16,21 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@v4

- name: Install Deno
uses: denoland/setup-deno@4606d5cc6fb3f673efd4f594850e3f4b3e9d29cd # v2.0.0
uses: denoland/setup-deno@v2
with:
deno-version: vx.x.x

- name: Setup Node
uses: ./.github/actions/setup-node
deno-version: v1.x

- name: Build step
run: "pnpm -s docs:build"

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "zxing-wasm"
project: "zxing-wasm-v1"
entrypoint: "https://deno.land/std/http/file_server.ts"
root: "docs"


0 comments on commit 39fd1a6

Please sign in to comment.