Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
- name: update policy
run: |
curl ${{ env.PUT_POL }} ${{ env.CURL_AUTH }} ${{ env.CURL_CONTENT }} ${{ env.CURL_DATA_UPOL }}
PUT_POL: '-X PUT "${{ env.ZONE_TAG }}/access/apps/${{ env.APP_UID }}/policies/${{ env.POL_UID }}"'
CURL_DATA_UPOL: --data '{"precedence":1,"decision":"allow","name":"Allow team","include":[{"email":{"email":""}},{"email":{"email":""}}]}'
if: env.APP_STATE == '11010'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment