fxlinux commited on
Commit
92ab318
·
verified ·
1 Parent(s): 40e4ce1

Upload 2 files

Browse files
Files changed (2) hide show
  1. .github/workflows/deploy.yml +36 -0
  2. .gitignore +3 -0
.github/workflows/deploy.yml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Deploy
2
+ on:
3
+ push:
4
+ branches: master
5
+ pull_request:
6
+ branches: master
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: Build step
27
+ run: "deno run --allow-net --allow-env main.ts"
28
+
29
+ - name: Upload to Deno Deploy
30
+ uses: denoland/deployctl@v1
31
+ with:
32
+ project: "iougemini-d2a-13"
33
+ entrypoint: "main.ts"
34
+ root: ""
35
+
36
+
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ node_modules
2
+ vscode
3
+ deno.json