mirror of
https://github.com/kou029w/daraz-san.git
synced 2025-01-18 08:05:04 +00:00
デプロイ先の整理
This commit is contained in:
parent
0473110b15
commit
a7941412fb
6 changed files with 1 additions and 65 deletions
10
.github/workflows/sync-codesandbox.yml
vendored
10
.github/workflows/sync-codesandbox.yml
vendored
|
@ -1,10 +0,0 @@
|
||||||
name: sync-codesandbox
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: kou029w/sync-codesandbox@master
|
|
||||||
with: { url: "https://1uukr.sse.codesandbox.io/" }
|
|
13
.github/workflows/sync-glitch.yml
vendored
13
.github/workflows/sync-glitch.yml
vendored
|
@ -1,13 +0,0 @@
|
||||||
name: sync-glitch
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
jobs:
|
|
||||||
main:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: npx sync-glitch-cli
|
|
||||||
env:
|
|
||||||
GH_REPO: "${{ github.repository }}"
|
|
||||||
GLITCH_PROJECT_ID: ae04f91d-6c70-41c2-b67b-77ef3b9dde16
|
|
||||||
GLITCH_TOKEN: "${{ secrets.GLITCH_TOKEN }}"
|
|
24
README.md
24
README.md
|
@ -1,6 +1,6 @@
|
||||||
# だらずさん ⚡
|
# だらずさん ⚡
|
||||||
|
|
||||||
[Slack ⚡ Bolt](https://github.com/SlackAPI/bolt) で作り直した [だらずさん](https://github.com/daraz-tek/daraz-bot)
|
[Bolt](https://github.com/slackapi/bolt-js) で作り直した [だらずさん](https://github.com/daraz-tek/daraz-bot)
|
||||||
|
|
||||||
## つかいかた
|
## つかいかた
|
||||||
|
|
||||||
|
@ -20,25 +20,3 @@
|
||||||
- `SLACK_BOT_TOKEN` ... OAuth & Permissions ページにあるボット (xoxb) トークン
|
- `SLACK_BOT_TOKEN` ... OAuth & Permissions ページにあるボット (xoxb) トークン
|
||||||
- `SLACK_SIGNING_SECRET` ... Basic Information ページにある Signing Secret
|
- `SLACK_SIGNING_SECRET` ... Basic Information ページにある Signing Secret
|
||||||
- (Optional) `PORT` ... ポート番号。デフォルトは 8080。
|
- (Optional) `PORT` ... ポート番号。デフォルトは 8080。
|
||||||
|
|
||||||
### デプロイ
|
|
||||||
|
|
||||||
#### Fly.io
|
|
||||||
|
|
||||||
[`flyctl deploy`](https://fly.io/docs/speedrun/)
|
|
||||||
|
|
||||||
#### Heroku
|
|
||||||
|
|
||||||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/kou029w/daraz-san)
|
|
||||||
|
|
||||||
#### Google Cloud Run
|
|
||||||
|
|
||||||
[![Deploy](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run/?git_repo=https://github.com/kou029w/daraz-san)
|
|
||||||
|
|
||||||
#### CodeSandbox
|
|
||||||
|
|
||||||
[![Edit daraz-san](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/kou029w/daraz-san)
|
|
||||||
|
|
||||||
#### Glitch
|
|
||||||
|
|
||||||
[![Edit daraz-san](https://img.shields.io/badge/glitch-edit-33f?logo=glitch&style=for-the-badge)](https://glitch.com/edit/#!/kou029w-daraz-san)
|
|
||||||
|
|
12
app.json
12
app.json
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"env": {
|
|
||||||
"SLACK_BOT_TOKEN": {
|
|
||||||
"description": "Slack Bot Token",
|
|
||||||
"value": "xoxb-"
|
|
||||||
},
|
|
||||||
"SLACK_SIGNING_SECRET": {
|
|
||||||
"description": "Slack Signing Secret",
|
|
||||||
"value": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
4
fly.toml
4
fly.toml
|
@ -1,4 +0,0 @@
|
||||||
app = "daraz-san-kou029w"
|
|
||||||
|
|
||||||
[build]
|
|
||||||
builder = "cloudfoundry/cnb:base"
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"template": "node"
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue