Skip to content

Commit 53f14cf

Browse files
committed
trying
1 parent f3b4cea commit 53f14cf

2 files changed

Lines changed: 26 additions & 53 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build Package
2+
3+
# Controls when the workflow will run
4+
on:
5+
workflow_dispatch:
6+
7+
push:
8+
#branches: [ "master", "main", "*" ]
9+
branches: [ "*" ]
10+
pull_request:
11+
#branches: [ "master", "main", "*" ]
12+
branches: [ "*" ]
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
- name: Send Hooks BigLinux Build Package
24+
shell: bash
25+
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

.github/workflows/translate-and-build-package.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)