-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.22 KB
/
build-node-app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Build Node Package"
on:
push:
tags:
- 'v*'
jobs:
trigger-build:
runs-on: ubuntu-latest
environment: default
steps:
- name: "Trigger Node Build"
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.CI_WEBHOOK_TOKEN }}
repository: istresearch/ci-docker
event-type: build-node-app
client-payload: |-
{
"repo": {
"name": "${{ github.repository }}",
"ref_type": "${{ github.ref_type }}",
"ref_name": "${{ github.ref_name }}"
},
"node": {
"version": "12.x",
"arch_allowed": "amd64 arm64",
"install_sh": "ci_yarn_install.sh",
"output_folder": "build"
},
"filerepo": {
"file_name": "floweditor-${{ github.ref_name }}",
"dst_folder": "/data/repo/engage/floweditor"
},
"callback": {
"repository": "${{ github.repository }}",
"event_type": "build_node_success",
"error_type": "build_node_error"
}
}
#endjob trigger-build