ruby/.github/workflows/publish.yml

19 строки
510 B
YAML

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 }}"}'