aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/reddit.yml
blob: e387c649180b6b6b275c2b07f06ad898b151b429 (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: Release

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