Skip to content

Commit

Permalink
feat: add trigger deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvdbraak committed Nov 8, 2023
1 parent 7edf75f commit 3b6c9c4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -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-weave',
workflow_id: 'release.yml',
ref: 'main'
})

0 comments on commit 3b6c9c4

Please sign in to comment.