You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirrors the deploy notifications in codeplain-api: post to the
SLACK_WEBHOOK_URL on deploy start, success and failure so releases are
visible without watching the Actions tab.
Covers both deploy paths in this repo:
- PyPI release publish (start / build failure / publish success / failure)
- install script upload to R2 (success / failure)
Each ping is guarded on the webhook being configured, so forks and
repos without the secret are unaffected.
--data "{\"text\":\"*Codeplain Client*: Install script deploy to R2 FAILED :x: (\`${GITHUB_SHA:0:7}\`). Users may be getting a stale installer. See <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|the run log>.\"}"
--data "{\"text\":\"*Codeplain Client*: Build of \`${{ github.ref_name }}\` FAILED :x:. Nothing was published to PyPI. See <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|the run log>.\"}"
66
+
50
67
publish-to-pypi:
51
68
name: Publish to PyPI
52
69
needs: build
@@ -59,6 +76,9 @@ jobs:
59
76
# authenticate this run — no long-lived API token needed.
0 commit comments