Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9436a4385f | ||
|
|
3e77b98be4 |
@@ -47,4 +47,4 @@ jobs:
|
|||||||
run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml
|
run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml
|
||||||
|
|
||||||
- name: Verify deployment
|
- name: Verify deployment
|
||||||
run: kubectl rollout status deployment/goff
|
run: kubectl rollout status deployment/geeksbot
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
Token := os.Getenv("DISCORDGO_TOKEN")
|
Token := os.Getenv("DISCORD_TOKEN")
|
||||||
dg, err := discordgo.New("Bot " + Token)
|
dg, err := discordgo.New("Bot " + Token)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("There was an error when creating the Discord Session, ", err)
|
log.Println("There was an error when creating the Discord Session, ", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user