blob: 260b586d8d5d3717246e3df567ab146a78f123f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
name: Publish to Reddit
on:
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Release for Reddit
uses: bluwy/release-for-reddit-action@v1.2.0
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
title: "[Release] Ferdium ${{ github.event.release.tag_name }}"
# flair-id: "7aa4f288-bf0d-11ec-a939-8e36666e1f23"
comment: "${{ github.event.release.body }}"
notification: true
|