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

Compare commits

..

No commits in common. "051d8906d540a59e1e0a96a725fe34a698fc6697" and "08f797b3f284c0af533153f0055c4dc85bf27eec" have entirely different histories.

3 changed files with 26 additions and 21 deletions

26
.github/workflows/_studio.yml vendored Normal file
View file

@ -0,0 +1,26 @@
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

View file

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

View file

@ -1,8 +0,0 @@
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!