Skip to content

Commit 4274667

Browse files
authored
github workflow added to update portal entity (#15)
* github workflow added to update portal entity * publishing part removed from upload portal entity workflow
1 parent fd9d897 commit 4274667

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update Portal Entity
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
update-portal:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
15+
- uses: actions/checkout@v1
16+
name : checkout-repo
17+
id: checkout-repo
18+
19+
- name: Zip spec files
20+
run: zip -qq -r spec.zip ./spec/.
21+
22+
- name: inplace-import
23+
run: curl -X PUT --url 'https://api.apimatic.io/api-entities/${{ secrets.API_ENTITY_ID }}' -H 'content-type:multipart/form-data' -H 'Authorization:X-Auth-Key ${{ secrets.API_KEY }}' -F '[email protected]'

0 commit comments

Comments
 (0)