blob: 8cb5eb99bba9dc037d21dead46cc47f99f7f90aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
name: Release
on:
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: bluwy/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: ferdium # Submit to /r/ferdium # uncomment this after testing on a dummy subreddit when moving to the main one
subreddit: ferdiumtests # Submit to /r/ferdiumtests # Delete this line after testing on dummy repository
title: [Release] Ferdium ${{ github.event.release.tag_name }}
url: ${{ github.event.release.html_url }}
# flair-id: 7aa4f288-bf0d-11ec-a939-8e36666e1f23 # uncomment this after testing on a dummy subreddit when moving to the main one
comment: ${{ github.event.release.body }}
notification: true
|