command
module
Version:
v0.0.0-...-6f9b5d1
Opens a new window with list of versions in this module.
Published: Aug 2, 2020
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
discord-vc-notifier
Prepare
Deploy
Google App Engine
Preparation:
- Create GCP project
- Create an application of App Engine in the project
Deploy manually:
- Configure gcloud
gcloud auth login
gcloud config set project YOUR_PROJECT_ID
- Create
app.yaml
- envsubst < app.yaml.tmpl > app.yaml
gcloud app deploy
Deploy by GitHub Actions:
- GCP preparations:
- Create a service account who has following roles:
- App Engine Deployer
- App Engine Service Admin
- Cloud Build Editor
- Storage Admin
- Create JSON key of the service account
- Enable App Engine Admin API
- Fork this repository
- Set required secrets
GOOGLE_CREDENTIALS
: JSON key
GOOGLE_PROJECT_ID
: GCP project ID
DISCORD_BOT_TOKEN
- Set secrets for notification options
- If you want to send notifications to discord channel:
DISCORD_CHANNEL_ID
(required)
- If you want to send notifications to slack channel:
SLACK_WEBHOOK_URL
(required)
SLACK_CHANNEL
SLACK_ICON_EMOJI
SLACK_USERNAME
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.