File tree 2 files changed +26
-3
lines changed
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Use Tecture Publisher
1
+ name : Publish to Tecture (Production)
2
2
3
3
on :
4
4
pull_request :
5
5
types : [closed]
6
+ branches :
7
+ - main
6
8
7
9
jobs :
8
10
publish :
15
17
uses : tecture-io/component-library-publisher-action@main
16
18
with :
17
19
github_token : ${{ secrets.GITHUB_TOKEN }}
18
- server_url : ${{ secrets.SERVER_URL }}
19
- api_key : ${{ secrets.API_KEY }}
20
+ server_url : ${{ secrets.SERVER_URL_PROD }}
21
+ api_key : ${{ secrets.API_KEY_PROD }}
Original file line number Diff line number Diff line change
1
+ name : Publish to Tecture (Staging)
2
+
3
+ on :
4
+ pull_request :
5
+ types : [closed]
6
+ branches :
7
+ - staging
8
+
9
+ jobs :
10
+ publish :
11
+ if : github.event.pull_request.merged == true
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Tecture Component Library Publisher
17
+ uses : tecture-io/component-library-publisher-action@main
18
+ with :
19
+ github_token : ${{ secrets.GITHUB_TOKEN }}
20
+ server_url : ${{ secrets.SERVER_URL_STAGING }}
21
+ api_key : ${{ secrets.API_KEY_STAGING }}
You can’t perform that action at this time.
0 commit comments