Skip to content

Commit

Permalink
Merge pull request Simple-Station#57 from Fansana/publish-fixes
Browse files Browse the repository at this point in the history
fix publish
  • Loading branch information
Fansana authored Jul 24, 2024
2 parents d6687a9 + 10cd511 commit 95a9304
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 2 additions & 7 deletions Tools/publish_github_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit 95a9304

Please sign in to comment.