mirror of
https://github.com/bartvdbraak/keyweave.git
synced 2025-04-28 15:21:21 +00:00
feat: add trigger deployment
This commit is contained in:
parent
7edf75f0a4
commit
a6cdc18bc3
1 changed files with 26 additions and 0 deletions
26
.github/workflows/trigger.yml
vendored
Normal file
26
.github/workflows/trigger.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: test trigger
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "feat/homebrew-releases"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/trigger.yml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v6
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
script: |
|
||||||
|
await github.rest.actions.createWorkflowDispatch({
|
||||||
|
owner: 'bartvdbraak',
|
||||||
|
repo: 'homebrew-keyweave',
|
||||||
|
workflow_id: 'release.yml',
|
||||||
|
ref: 'main'
|
||||||
|
})
|
Loading…
Reference in a new issue