ci: update release notifier (#534)

This commit is contained in:
LizardByte-bot 2022-12-10 10:45:09 -05:00 • committed by GitHub
commit a7b19f48fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@ on:
jobs: jobs:
discord: discord:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: discord - name: discord
@ -27,6 +28,7 @@ jobs:
color: 0xFF4500 color: 0xFF4500
facebook_group: facebook_group:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: facebook-post-action - name: facebook-post-action
@ -40,6 +42,7 @@ jobs:
url: ${{ github.event.release.html_url }} url: ${{ github.event.release.html_url }}
facebook_page: facebook_page:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: facebook-post-action - name: facebook-post-action
@ -53,10 +56,11 @@ jobs:
url: ${{ github.event.release.html_url }} url: ${{ github.event.release.html_url }}
reddit: reddit:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: reddit - name: reddit
uses: bluwy/release-for-reddit-action@v1 # https://github.com/bluwy/release-for-reddit-action uses: bluwy/release-for-reddit-action@v2 # https://github.com/bluwy/release-for-reddit-action
with: with:
username: ${{ secrets.REDDIT_USERNAME }} username: ${{ secrets.REDDIT_USERNAME }}
password: ${{ secrets.REDDIT_PASSWORD }} password: ${{ secrets.REDDIT_PASSWORD }}
@ -69,6 +73,7 @@ jobs:
comment: ${{ github.event.release.body }} comment: ${{ github.event.release.body }}
twitter: twitter:
if: startsWith(github.repository, 'LizardByte/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: twitter - name: twitter