Create reddit.yml

Action to post info about releases on reddit
This commit is contained in:
Kreyren 2020-03-18 11:34:07 +01:00 committed by GitHub
parent d256ff6c67
commit 1bd2b035fc
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

17
.github/reddit.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Release
on:
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: BjornLuG/release-for-reddit-action@v1
with:
username: ${{ secrets.REDDIT_USERNAME }}
password: ${{ secrets.REDDIT_PASSWORD }}
app-id: ${{ secrets.REDDIT_APP_ID }}
app-secret: ${{ secrets.REDDIT_APP_SECRET }}
subreddit: test # Submit to /r/test