Skip to content

Commit

Permalink
DIR Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan committed Jul 15, 2024
1 parent e34dfcd commit 949288b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
run: Tools/actions_changelogs_since_last_run.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHANGELOG_DIR: ${{ vars.CHANGELOG_DIR }}
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
continue-on-error: true
4 changes: 2 additions & 2 deletions Tools/actions_changelogs_since_last_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
DISCORD_SPLIT_LIMIT = 2000
DISCORD_WEBHOOK_URL = os.environ.get("DISCORD_WEBHOOK_URL")

CHANGELOG_FILE = "Resources/Changelog/DeltaVChangelog.yml"
CHANGELOG_FILE = os.environ.get("CHANGELOG_DIR")

TYPES_TO_EMOJI = {
"Fix": "🐛",
Expand Down Expand Up @@ -165,7 +165,7 @@ def send_to_discord(entries: Iterable[ChangelogEntry]) -> None:

# Flush the group to the message
message_content.write(group_text)

# Clean up anything remaining
message_text = message_content.getvalue()
if len(message_text) > 0:
Expand Down

0 comments on commit 949288b

Please sign in to comment.