mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-06 12:15:45 +00:00
Comment out swarmia deployment for now
This commit is contained in:
parent
a25eb9c136
commit
768cfb6c2d
32
.github/workflows/publish-docker-images.yml
vendored
32
.github/workflows/publish-docker-images.yml
vendored
@ -106,20 +106,20 @@ jobs:
|
|||||||
client-payload: '{ "meilisearch_version": "${{ github.ref_name }}", "stable": "${{ steps.check-tag-format.outputs.stable }}" }'
|
client-payload: '{ "meilisearch_version": "${{ github.ref_name }}", "stable": "${{ steps.check-tag-format.outputs.stable }}" }'
|
||||||
|
|
||||||
# Send notification to Swarmia to notify of a deployment: https://app.swarmia.com
|
# Send notification to Swarmia to notify of a deployment: https://app.swarmia.com
|
||||||
- name: 'Setup jq'
|
# - name: 'Setup jq'
|
||||||
uses: dcarbone/install-jq-action
|
# uses: dcarbone/install-jq-action
|
||||||
- name: Send deployment to Swarmia
|
# - name: Send deployment to Swarmia
|
||||||
if: github.event_name == 'push' && success()
|
# if: github.event_name == 'push' && success()
|
||||||
run: |
|
# run: |
|
||||||
JSON_STRING=$( jq --null-input --compact-output \
|
# JSON_STRING=$( jq --null-input --compact-output \
|
||||||
--arg version "${{ github.ref_name }}" \
|
# --arg version "${{ github.ref_name }}" \
|
||||||
--arg appName "meilisearch" \
|
# --arg appName "meilisearch" \
|
||||||
--arg environment "production" \
|
# --arg environment "production" \
|
||||||
--arg commitSha "${{ github.sha }}" \
|
# --arg commitSha "${{ github.sha }}" \
|
||||||
--arg repositoryFullName "${{ github.repository }}" \
|
# --arg repositoryFullName "${{ github.repository }}" \
|
||||||
'{"version": $version, "appName": $appName, "environment": $environment, "commitSha": $commitSha, "repositoryFullName": $repositoryFullName}' )
|
# '{"version": $version, "appName": $appName, "environment": $environment, "commitSha": $commitSha, "repositoryFullName": $repositoryFullName}' )
|
||||||
|
|
||||||
curl -H "Authorization: ${{ secrets.SWARMIA_DEPLOYMENTS_AUTHORIZATION }}" \
|
# curl -H "Authorization: ${{ secrets.SWARMIA_DEPLOYMENTS_AUTHORIZATION }}" \
|
||||||
-H "Content-Type: application/json" \
|
# -H "Content-Type: application/json" \
|
||||||
-d "$JSON_STRING" \
|
# -d "$JSON_STRING" \
|
||||||
https://hook.swarmia.com/deployments
|
# https://hook.swarmia.com/deployments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user