Skip to content

Commit

Permalink
Update generateics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jcallaghan authored Aug 29, 2024
1 parent 4bef3f9 commit 94ab4f2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/scripts/generateics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from datetime import datetime
import json
import uuid
from dotenv import load_dotenv

# Load environment variables from .env file
load_dotenv()

# Get the token from environment variables
token = os.getenv("GITHUB_TOKEN")
token = json.loads(os.getenv("CONTEXT_GITHUB"))
if not token:
print("GitHub token not found. Please set it in the .env file.")
exit(1)
Expand Down

0 comments on commit 94ab4f2

Please sign in to comment.