1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-02 15:18:37 +00:00

Compare commits

..

2 commits

Author SHA1 Message Date
051d8906d5
Delete .github/workflows/_studio.yml 2024-04-22 12:21:40 +09:00
65d2e4a71f
deno 2024-04-22 12:15:30 +09:00
3 changed files with 21 additions and 26 deletions

View file

@ -1,26 +0,0 @@
name: Astro Studio
env:
ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }}
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
jobs:
DB:
permissions:
contents: read
actions: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: jaid/action-npm-install@v1.2.1
- uses: withastro/action-studio@main

13
deno/deno.json Normal file
View file

@ -0,0 +1,13 @@
{
"tasks": {
"dev": "deno run --watch main.ts"
},
"deploy": {
"project": "d7ff4021-31bb-4663-b015-12a9e7b9bb64",
"exclude": [
"**/node_modules"
],
"include": [],
"entrypoint": "main.ts"
}
}

8
deno/main.ts Normal file
View file

@ -0,0 +1,8 @@
const now = new Date();
if (import.meta.main) {
Deno.serve(() => new Response(`${now}: Hello World!`));
}
// $ curl https://great-crow-36.deno.dev/
// Mon Apr 22 2024 03:13:21 GMT+0000 (Coordinated Universal Time): Hello World!