summaryrefslogtreecommitdiff
path: root/.github/workflows/notify.yml
blob: 99965268dfc715183576843521180ecbaeb2b5b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Notify

on:
  release:
    types:
      - published

permissions:
  contents: read

jobs:
  notify:
    runs-on: ubuntu-18.04
    name: Notify
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 50
      - uses: erlef/setup-beam@v1
        with:
          otp-version: 24.3
          elixir-version: 1.13.4
      - name: Run Elixir script
        env:
          ELIXIR_FORUM_TOKEN: ${{ secret.ELIXIR_FORUM_TOKEN }}
          ELIXIR_LANG_ANN_TOKEN: ${{ secret.ELIXIR_LANG_ANN_TOKEN }}
        run: |
          elixir .github./workflows/notify.exs ${{ github.ref_name }}