Skip to content

Commit 27120d9

Browse files
Update build-package.yml
1 parent 87d988a commit 27120d9

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
name: Build Package
22

3-
# Controls when the workflow will run
43
on:
54
workflow_dispatch:
6-
5+
76
push:
8-
#branches: [ "master", "main", "*" ]
9-
branches: [ "*" ]
10-
pull_request:
11-
#branches: [ "master", "main", "*" ]
127
branches: [ "*" ]
138

14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
159
jobs:
16-
# This workflow contains a single job called "build"
1710
build:
18-
# The type of runner that the job will run on
1911
runs-on: ubuntu-latest
20-
21-
# Steps represent a sequence of tasks that will be executed as part of the job
2212
steps:
13+
- uses: actions/checkout@v3
2314
- name: Send Hooks BigLinux Build Package
2415
shell: bash
2516
run: |
26-
curl -X POST -H "Accept: application/json" -H "Authorization: token ${{ secrets.WEBHOOK_TOKEN }}" --data '{"event_type": "${{ github.repository }}", "client_payload": { "branch": "${{ github.ref_name }}", "url": "https://github.com/${{ github.repository }}", "version": "1.2.3"}}' https://api.github.com/repos/BigLinux-Package-Build/build-package/dispatches
17+
curl -X POST -H "Accept: application/json" -H "Authorization: token ${{ secrets.WEBHOOK_TOKEN }}" --data '{"event_type": "${{ github.repository }}", "client_payload": { "branch": "${{ github.ref_name }}", "url": "https://github.com/${{ github.repository }}"}}' https://api.github.com/repos/BigLinux-Package-Build/build-package/dispatches
18+
curl -X POST -H "Accept: application/json" -H "Authorization: token ${{ secrets.WEBHOOK_TOKEN }}" --data '{"event_type": "${{ github.repository }}", "client_payload": { "branch": "${{ github.ref_name }}", "url": "https://github.com/${{ github.repository }}"}}' https://api.github.com/repos/BigLinux-Package-Build/build-package-ARM/dispatches

0 commit comments

Comments
 (0)