Fill in client-specific values from eec-courses-template
Sync courses / sync (push) Failing after 5s

Swaps __CLIENT__/__DOMAIN__ placeholders for twosquirrelspress/
eec-twosquirrelspress/twosquirrelspress.com.
This commit is contained in:
2026-07-24 07:41:45 -04:00
parent 3482914faf
commit 90961ee7e4
2 changed files with 11 additions and 20 deletions
+3 -3
View File
@@ -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 }}