diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 081d89526d8..e769ae37034 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,6 +57,8 @@ jobs: PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} ARTIFACT_ID: ${{ steps.artifact-upload-step.outputs.artifact-id }} GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }} + ROBUST_CDN_URL: ${{ vars.ROBUST_CDN_URL }} + FORK_ID: ${{ vars.FORK_ID }} # - name: Publish changelog (Discord) # run: Tools/actions_changelogs_since_last_run.py diff --git a/Tools/publish_github_artifact.py b/Tools/publish_github_artifact.py index 867c40f0949..0ad1fa6325e 100755 --- a/Tools/publish_github_artifact.py +++ b/Tools/publish_github_artifact.py @@ -9,13 +9,8 @@ ARTIFACT_ID = os.environ["ARTIFACT_ID"] GITHUB_REPOSITORY = os.environ["GITHUB_REPOSITORY"] VERSION = os.environ['GITHUB_SHA'] - -# -# CONFIGURATION PARAMETERS -# Forks should change these to publish to their own infrastructure. -# -ROBUST_CDN_URL = "http://floofstation.com:27690/" -FORK_ID = "floofstation-main" +ROBUST_CDN_URL = os.environ['ROBUST_CDN_URL'] +FORK_ID = os.environ['FORK_ID'] def main(): print("Fetching artifact URL from API...")