Skip to content

Commit 858fc89

Browse files
authored
try a KISS version of auto deploy prebuilt (#12)
1 parent ae1bc20 commit 858fc89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy-npm-package.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,11 @@ jobs:
4949
npm install --include=dev
5050
npm publish --tag develop
5151
fi
52+
53+
- name: Hit endpoint and build from scratch pre-built image
54+
run: |
55+
curl --fail-with-body -X POST \
56+
https://dev.polyapi.io/functions/server/prebuilt-base-image \
57+
-H "Authorization: Bearer ${{ secrets.POLY_SUPER_ADMIN_USER_KEY }}" \
58+
-H "Content-Type: application/json" \
59+
-d '{}'

0 commit comments

Comments
 (0)