Skip to content

Commit

Permalink
fix: env not being passed to main.py (#7)
Browse files Browse the repository at this point in the history
* fix: made fetching env its own step before checkout

* changed workflow name

* fix: made runner use dev environment

* fix: env not being passed to docker container

* fix: removes strings from string token

* fix: removed flag that seems to break docker compose

* Revert "seeing if container launches without sudo"

This reverts commit 2465f42.

* Revert "trying to get github secret from docker compose file"

This reverts commit 3a6bc95.

* fix: docker container not being passed env

* fix: updated runner to match dev_runner

* clean: removed excess spaces

* fix: called wrong env var in main

* fix: env not being passed to main.py
  • Loading branch information
SpudsTheCyan authored Sep 1, 2023
1 parent 6a1b050 commit 91d98e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dev_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches: [ beta ]



jobs:
run:
runs-on: self-hosted
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger.info(f"Program started!")

# gets bot token from env
BOT_TOKEN = os.getenv("TOKEN")
BOT_TOKEN = os.getenv("BOT_TOKEN")

# defines the bot obj
intents = discord.Intents.default()
Expand Down

0 comments on commit 91d98e6

Please sign in to comment.