Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
- name: create app
run: |
echo ::set-env name=APP_STATE::$(curl ${{ env.POST_APP }} ${{ env.CURL_AUTH }} ${{ env.CURL_CONTENT }} ${{ env.CURL_DATA_APP }} | jq -r '.errors[].code')
POST_APP: '-X POST "${{ env.ZONE_TAG }}/access/apps"'
CURL_DATA_APP: --data '{"name":"Test Deploy","domain":"${{ env.ZONE_NAME }}","session_duration":"24h"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment