summaryrefslogtreecommitdiff
path: root/.github/workflows/publish.yml
blob: 5d4474d978f51a85665cae3459d788cf37e39d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Start release workflow
on:
  push:
    tags:
      - '*'

jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - name: Build release package
        run: |
          curl -L -X POST \
            -H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
            -H "Accept: application/vnd.github+json" \
            -H "X-GitHub-Api-Version: 2022-11-28" \
            https://api.github.com/repos/ruby/actions/dispatches \
            -d '{"event_type": "${{ github.ref }}"}'