generated from will/eec-courses-template
Add welcome course, finish template substitution for west575
Sync courses / sync (push) Successful in 5s
Sync courses / sync (push) Successful in 5s
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-west575:8080/admin/sync" \
|
||||
-H "Authorization: Bearer ${WEST575_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 }}
|
||||
WEST575_EEC_SYNC_TOKEN: ${{ secrets.WEST575_EEC_SYNC_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user