Skip to content

ci: automatically update homebrew tap on release #3

ci: automatically update homebrew tap on release

ci: automatically update homebrew tap on release #3

Workflow file for this run

name: test
on:
push:
branches:
- update-homebrew
jobs:
update_homebrew:
runs-on: ubuntu-latest
steps:
- name: trigger homebrew update
run: |
curl -L \
--fail-with-body \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.HOMEBREW_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/derlin/homebrew-bitdowntoc/actions/workflows/${{ secrets.HOMEBREW_WORKFLOW_ID }}/dispatches \
-d '{"ref":"main","inputs":{}}'