Update GITEA_TOKEN environment variable to PROFILE_UPDATER_GITEA_TOKEN
This commit is contained in:
@@ -6,7 +6,7 @@ import datetime
|
|||||||
GITEA_URL = "https://gitea.nathan-falvey.synology.me"
|
GITEA_URL = "https://gitea.nathan-falvey.synology.me"
|
||||||
USERNAME = "nathan"
|
USERNAME = "nathan"
|
||||||
BOT_NAME = "Gitea Action" # The name used in your git config in the .yaml
|
BOT_NAME = "Gitea Action" # The name used in your git config in the .yaml
|
||||||
GITEA_TOKEN = os.getenv("GITEA_TOKEN")
|
GITEA_TOKEN = os.getenv("PROFILE_UPDATER_GITEA_TOKEN")
|
||||||
|
|
||||||
def format_bytes(size_bytes):
|
def format_bytes(size_bytes):
|
||||||
"""Converts bytes to a human-readable string."""
|
"""Converts bytes to a human-readable string."""
|
||||||
|
|||||||
Reference in New Issue
Block a user