-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from nik-kita/feat/xsate-logic-handling
Feat/xsate logic handling
- Loading branch information
Showing
14 changed files
with
1,096 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: [main, stage] | ||
pull_request: | ||
branches: [main, stage] | ||
push: | ||
branches: [main, stage] | ||
pull_request: | ||
branches: [main, stage] | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy | ||
environment: ${{(github.ref_name == 'main' && 'prod') || (github.ref_name == 'stage' && 'stage')}} | ||
runs-on: ubuntu-latest | ||
deploy: | ||
name: Deploy | ||
environment: ${{(github.ref_name == 'main' && 'prod') || (github.ref_name == 'stage' && 'stage')}} | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
id-token: write # Needed for auth with Deno Deploy | ||
contents: read # Needed to clone the repository | ||
permissions: | ||
id-token: write # Needed for auth with Deno Deploy | ||
contents: read # Needed to clone the repository | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Deno | ||
uses: denoland/setup-deno@v2 | ||
with: | ||
deno-version: v2.x | ||
- name: Install Deno | ||
uses: denoland/setup-deno@v2 | ||
with: | ||
deno-version: v2.x | ||
|
||
- name: Load dotenv from github secrets | ||
run: > | ||
echo """${{secrets.DOTENV_CONTENT}}""" > .env | ||
- name: Load dotenv from github secrets | ||
run: > | ||
echo """${{secrets.DOTENV_CONTENT}}""" > .env | ||
- name: Upload to Deno Deploy ${{env.DENO_PROJECT_NAME}} | ||
uses: denoland/deployctl@v1 | ||
with: | ||
project: ${{vars.DENO_PROJECT_NAME}} | ||
entrypoint: "main.ts" | ||
root: "" | ||
- name: Upload to Deno Deploy ${{env.DENO_PROJECT_NAME}} | ||
uses: denoland/deployctl@v1 | ||
with: | ||
project: ${{vars.DENO_PROJECT_NAME}} | ||
entrypoint: "main.ts" | ||
root: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"type": "node", | ||
"program": "${workspaceFolder}/main.ts", | ||
"cwd": "${workspaceFolder}", | ||
"env": {}, | ||
"runtimeExecutable": "/home/nik/.deno/bin/deno", | ||
"runtimeArgs": [ | ||
"run", | ||
"--unstable-kv", | ||
"--inspect-wait", | ||
"--allow-all" | ||
], | ||
"attachSimplePort": 9229 | ||
} | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"type": "node", | ||
"program": "${workspaceFolder}/main.ts", | ||
"cwd": "${workspaceFolder}", | ||
"env": {}, | ||
"runtimeExecutable": "/home/nik/.deno/bin/deno", | ||
"runtimeArgs": [ | ||
"run", | ||
"--unstable-kv", | ||
"--inspect-wait", | ||
"--allow-all" | ||
], | ||
"attachSimplePort": 9229 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
{ | ||
"deno.enable": true, | ||
"editor.tabSize": 4, | ||
"cSpell.words": [ | ||
"GDRIVE" | ||
] | ||
} |
Oops, something went wrong.
2b08d77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to deploy: