aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-06-19 15:01:49 +0100
committerLibravatar GitHub <noreply@github.com>2022-06-19 15:01:49 +0100
commit8245e20f3fec85ef33dd88e0cb48a32953a3874b (patch)
treee194dd87e5e2096832d954f27f36fe53ebc05b35 /.github
parentFix incorrect documentation [skip ci] (diff)
downloadferdium-app-8245e20f3fec85ef33dd88e0cb48a32953a3874b.tar.gz
ferdium-app-8245e20f3fec85ef33dd88e0cb48a32953a3874b.tar.zst
ferdium-app-8245e20f3fec85ef33dd88e0cb48a32953a3874b.zip
Create GH Action for automatic publish of releases (#292)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/reddit.yml23
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 @@
1name: Release
2
3on:
4 release:
5 types: [published]
6
7jobs:
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