Skip to content

Commit

Permalink
Merge branch 'Corvax-Frontier:master' into Модуль-оружия
Browse files Browse the repository at this point in the history
  • Loading branch information
FireFoxPhoenix authored Oct 5, 2024
2 parents 6a625eb + e62b82f commit 48b0524
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Publish

concurrency:
group: publish
#concurrency:
# group: publish

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

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
# - name: Install dependencies
Expand Down Expand Up @@ -47,17 +47,18 @@ jobs:
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
FORK_ID: ${{ vars.FORK_ID }}

# - 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 }}

- name: Publish changelog (RSS)
run: Tools/actions_changelog_rss.py
env:
CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }}
# - name: Publish changelog (RSS)
# run: Tools/actions_changelog_rss.py
# env:
# CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }}

#- uses: geekyeggo/delete-artifact@v5
# if: always()
Expand Down
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.station14.ru/"
FORK_ID = os.environ["FORK_ID"]

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

0 comments on commit 48b0524

Please sign in to comment.