Skip to content

Commit 432c40c

Browse files
Initial commit
0 parents  commit 432c40c

File tree

5 files changed

+790
-0
lines changed

5 files changed

+790
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build Package
2+
3+
on:
4+
workflow_dispatch:
5+
6+
push:
7+
branches: [ "*" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
# - name: Send Hooks BigLinux Build Package
15+
# shell: bash
16+
# run: |
17+
# if [ -z "$(grep biglinux-package-template pkgbuild/PKGBUILD)" ];then
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/dispatches
19+
# 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
20+
# fi
21+
# curl -X POST "https://nebulaapi.nimbusnetwork.dev/webhook" \
22+
# -H "Authorization: token ${{ secrets.WEBHOOK_TOKEN }}" \
23+
# -H "Content-Type: application/json" \
24+
# -d '{
25+
# "event_type": "${{ github.repository }}",
26+
# "branch": "${{ github.ref_name }}",
27+
# "url": "https://github.com/${{ github.repository }}"
28+
# }'
29+
30+
# - name: Invoke deployment hook
31+
# uses: johannes-huther/webhook.sh@v1
32+
# env:
33+
# webhook_url: https://nebulaapi.nimbusnetwork.dev/webhook
34+
# webhook_secret: ${{ secrets.WEBHOOK_TOKEN }}
35+
# data: '{ "event_type": "${{ github.repository }}", "branch": "${{ github.ref_name }}", "url": "https://github.com/${{ github.repository }}"}'
36+
#xpto28
37+
38+
39+
40+
41+
42+
43+

0 commit comments

Comments
 (0)