Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/deploy-npm-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ jobs:
npm install --include=dev
npm publish --tag develop
fi

- name: Hit endpoint and build from scratch pre-built image
run: |
curl --fail-with-body -X POST \
https://dev.polyapi.io/functions/server/prebuilt-base-image \
-H "Authorization: Bearer ${{ secrets.POLY_SUPER_ADMIN_USER_KEY }}" \
-H "Content-Type: application/json" \
-d '{}'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need a delay before we run this step. But I'm hoping the natural latency let's this pick up the newly published version on npm!