Skip to content

Commit

Permalink
Merge pull request #14 from stalker14-project/publish-setup
Browse files Browse the repository at this point in the history
Setup Publish
  • Loading branch information
JerryImMouse authored Jan 12, 2025
2 parents 4a82067 + c5e79f8 commit bcc30b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ concurrency:

on:
workflow_dispatch:
# schedule:
# - cron: '0 10 * * *'

jobs:
build:
Expand Down Expand Up @@ -46,10 +44,11 @@ jobs:
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}

- name: Publish changelog (Discord)
run: Tools/actions_changelogs_since_last_run.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
continue-on-error: true

# WH-14 Changes | We don't need changelog, at least now...
# - name: Publish changelog (Discord)
# run: Tools/actions_changelogs_since_last_run.py
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
# continue-on-error: true
4 changes: 2 additions & 2 deletions Tools/publish_multi_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# CONFIGURATION PARAMETERS
# Forks should change these to publish to their own infrastructure.
#
ROBUST_CDN_URL = "https://wizards.cdn.spacestation14.com/"
FORK_ID = "wizards"
ROBUST_CDN_URL = "https://cdn.stalkers14.xyz/"
FORK_ID = "warhammer"

def main():
session = requests.Session()
Expand Down

0 comments on commit bcc30b2

Please sign in to comment.