Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: add discord notification when generating sandboxes fails #22638

Merged
merged 4 commits into from
May 19, 2023

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented May 19, 2023

Adding discord notifications to the monitoring channel so we are alerted when generating sandboxes fails

@ndelangen ndelangen self-assigned this May 19, 2023
@ndelangen ndelangen added patch:yes Bugfix & documentation PR that need to be picked to main branch build Internal-facing build tooling & test updates labels May 19, 2023
@ndelangen ndelangen changed the title add discord notification when generating sandboxes fails Build: add discord notification when generating sandboxes fails May 19, 2023
@ndelangen ndelangen requested review from yannbf and shilman May 19, 2023 10:24
Copy link
Member

@yannbf yannbf left a comment

Choose a reason for hiding this comment

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

THANK YOU!!!!

@ndelangen ndelangen merged commit 7d2a090 into next May 19, 2023
@ndelangen ndelangen deleted the norbert/discord-message-generate-sandboxes-fail branch May 19, 2023 10:41
shilman pushed a commit that referenced this pull request May 22, 2023
…nerate-sandboxes-fail

Build: add discord notification when generating sandboxes fails
@shilman shilman mentioned this pull request May 22, 2023
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 22, 2023
@@ -48,3 +48,10 @@ jobs:
- name: Publish
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=next
working-directory: ./code
- name: The job has failed
if: ${{ failure() || cancelled() }}
Copy link
Contributor

Choose a reason for hiding this comment

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

pro tip (but also very useless) @ndelangen, you don't need to wrap it in an ${{ expression }} syntax when writing if: declarations, that is automatically handled. So you could do:

if: failure() || cancelled()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Internal-facing build tooling & test updates patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants