s
This commit is contained in:
parent
ce796e955e
commit
0e76604010
2 changed files with 28 additions and 20 deletions
24
.github/workflows/publish-stable.yml
vendored
24
.github/workflows/publish-stable.yml
vendored
|
|
@ -12,6 +12,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Fail if we are attempting to run on the master branch
|
||||
if: ${{GITHUB.REF_NAME == 'master'}}
|
||||
run: exit 1
|
||||
|
||||
- uses: actions/checkout@v3.6.0
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
|
@ -53,3 +57,23 @@ jobs:
|
|||
env:
|
||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
|
||||
|
||||
- name: Publish discord changelog (SUNRISE)
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_SUNRISE }}
|
||||
|
||||
- name: Publish discord changelog (LUST)
|
||||
continue-on-error: true
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_LUST }}
|
||||
|
||||
- name: Publish discord changelog (FISH)
|
||||
continue-on-error: true
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_FISH }}
|
||||
|
|
|
|||
24
.github/workflows/publish.yml
vendored
24
.github/workflows/publish.yml
vendored
|
|
@ -12,6 +12,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Fail if we are attempting to run on the stable branch
|
||||
if: ${{GITHUB.REF_NAME == 'stable'}}
|
||||
run: exit 1
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
|
@ -62,26 +66,6 @@ jobs:
|
|||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
|
||||
|
||||
- name: Publish discord changelog (SUNRISE)
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_SUNRISE }}
|
||||
|
||||
- name: Publish discord changelog (LUST)
|
||||
continue-on-error: true
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_LUST }}
|
||||
|
||||
- name: Publish discord changelog (FISH)
|
||||
continue-on-error: true
|
||||
run: Tools/_sunrise/actions_changelogs_since_last_run.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK_FISH }}
|
||||
|
||||
# - name: Publish changelog (RSS)
|
||||
# continue-on-error: true
|
||||
# run: Tools/actions_changelog_rss.py
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue