Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/xsate logic handling #7

Merged
merged 19 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions .github/workflows/deploy.yml
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: ""
44 changes: 22 additions & 22 deletions .vscode/launch.json
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
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
{
"deno.enable": true,
"editor.tabSize": 4,
"cSpell.words": [
"GDRIVE"
]
}
Loading
Loading