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