generated from will/eec-courses-template
Fill in client-specific values from eec-courses-template
Sync courses / sync (push) Failing after 5s
Sync courses / sync (push) Failing after 5s
Swaps __CLIENT__/__DOMAIN__ placeholders for twosquirrelspress/ eec-twosquirrelspress/twosquirrelspress.com.
This commit is contained in:
@@ -13,8 +13,8 @@ jobs:
|
||||
run: |
|
||||
tar czf /tmp/courses.tar.gz courses
|
||||
status=$(curl -s -o /tmp/sync-response.json -w '%{http_code}' \
|
||||
-X POST "http://eec-__CLIENT__:8080/admin/sync" \
|
||||
-H "Authorization: Bearer ${__CLIENT___EEC_SYNC_TOKEN}" \
|
||||
-X POST "http://eec-twosquirrelspress:8080/admin/sync" \
|
||||
-H "Authorization: Bearer ${TWOSQUIRRELSPRESS_EEC_SYNC_TOKEN}" \
|
||||
--data-binary @/tmp/courses.tar.gz)
|
||||
cat /tmp/sync-response.json
|
||||
echo
|
||||
@@ -23,4 +23,4 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
env:
|
||||
__CLIENT___EEC_SYNC_TOKEN: ${{ secrets.__CLIENT___EEC_SYNC_TOKEN }}
|
||||
TWOSQUIRRELSPRESS_EEC_SYNC_TOKEN: ${{ secrets.TWOSQUIRRELSPRESS_EEC_SYNC_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user