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 Oct 7, 2024
1 parent 818b9e7 commit e5a944b
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy main to Deno Deploy
name: Deploy
on:
push:
branches: main
branches: qa
pull_request:
branches: main
branches: qa

jobs:
deploy:
Expand All @@ -16,19 +16,27 @@ jobs:

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

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Install step
run: "npm install"

- name: Build step
run: "npm install && npm run build"
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
project: "credebl-studio-qa"
entrypoint: "server/entry.mjs"
root: "dist"

0 comments on commit e5a944b

Please sign in to comment.