diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/reddit.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/reddit.yml b/.github/workflows/reddit.yml new file mode 100644 index 000000000..8cb5eb99b --- /dev/null +++ b/.github/workflows/reddit.yml | |||
@@ -0,0 +1,23 @@ | |||
1 | name: Release | ||
2 | |||
3 | on: | ||
4 | release: | ||
5 | types: [published] | ||
6 | |||
7 | jobs: | ||
8 | test: | ||
9 | runs-on: ubuntu-latest | ||
10 | steps: | ||
11 | - uses: bluwy/release-for-reddit-action@v1 | ||
12 | with: | ||
13 | username: ${{ secrets.REDDIT_USERNAME }} | ||
14 | password: ${{ secrets.REDDIT_PASSWORD }} | ||
15 | app-id: ${{ secrets.REDDIT_APP_ID }} | ||
16 | app-secret: ${{ secrets.REDDIT_APP_SECRET }} | ||
17 | #subreddit: ferdium # Submit to /r/ferdium # uncomment this after testing on a dummy subreddit when moving to the main one | ||
18 | subreddit: ferdiumtests # Submit to /r/ferdiumtests # Delete this line after testing on dummy repository | ||
19 | title: [Release] Ferdium ${{ github.event.release.tag_name }} | ||
20 | url: ${{ github.event.release.html_url }} | ||
21 | # flair-id: 7aa4f288-bf0d-11ec-a939-8e36666e1f23 # uncomment this after testing on a dummy subreddit when moving to the main one | ||
22 | comment: ${{ github.event.release.body }} | ||
23 | notification: true \ No newline at end of file | ||