From 1bd2b035fc6d10266ec17e5bde00958c8c72a4f0 Mon Sep 17 00:00:00 2001 From: Kreyren Date: Wed, 18 Mar 2020 11:34:07 +0100 Subject: [PATCH] Create reddit.yml Action to post info about releases on reddit --- .github/reddit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/reddit.yml diff --git a/.github/reddit.yml b/.github/reddit.yml new file mode 100644 index 0000000..2c0b3e1 --- /dev/null +++ b/.github/reddit.yml @@ -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