Skip to content

Commit

Permalink
Add build automation
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilmer committed Oct 31, 2021
1 parent ab41b92 commit 47f96a8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pkg-change-broadcast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pkg-change-broadcast

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Broadcast Event
run: |
TARGET_REPO_NAME=package-repo
curl -XPOST -u "${{ secrets.ORG_BROADCAST_USER}}:${{secrets.ORG_BROADCAST_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/regolith-linux/$TARGET_REPO_NAME/dispatches --data '{ "event_type": "package_update"}'

0 comments on commit 47f96a8

Please sign in to comment.