Skip to content

Commit 804221c

Browse files
[Deno Deploy] Add .github/workflows/deploy.yml
1 parent 256e9d1 commit 804221c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches: main
5+
pull_request:
6+
branches: main
7+
8+
jobs:
9+
deploy:
10+
name: Deploy
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
id-token: write # Needed for auth with Deno Deploy
15+
contents: read # Needed to clone the repository
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v4
20+
21+
- name: Install Deno
22+
uses: denoland/setup-deno@v2
23+
with:
24+
deno-version: v2.x
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: lts/*
30+
31+
- name: Install step
32+
run: "deno install --allow-scripts=npm:@swc/core"
33+
34+
- name: Upload to Deno Deploy
35+
uses: denoland/deployctl@v1
36+
with:
37+
project: "fullsoak-examples"
38+
entrypoint: "src/main.ts"
39+
root: ""
40+
41+

0 commit comments

Comments
 (0)