Skip to content

Commit b8788aa

Browse files
committed
update
update
1 parent dbc8591 commit b8788aa

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/createpolicies.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Run Policies Script
22

33
on:
44
workflow_dispatch:
5+
56

67
jobs:
78
build:
89
runs-on: ubuntu-latest
10+
environment: apiMana
911

1012
steps:
1113
- uses: actions/checkout@v2

policies/policies.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
<on-error>
1616
<base />
1717
</on-error>
18-
</policies>
18+
</policies>
19+

python/.env

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
PRODUCT_ID=Github-action
2-
PRODUCT_NAME=Github
2+
PRODUCT_NAME=Github
3+
4+
# Create a product
5+
az apim product create --resource-group apim --service-name apiMana --product-id $PRODUCT_ID --display-name $PRODUCT_NAME --approval-required false
6+
# List products
7+
az apim product list --resource-group apim --service-name apiMana --output table

0 commit comments

Comments
 (0)