-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Build: add discord notification when generating sandboxes fails #22638
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THANK YOU!!!!
…nerate-sandboxes-fail Build: add discord notification when generating sandboxes fails
@@ -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() }} |
There was a problem hiding this comment.
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()
Adding discord notifications to the monitoring channel so we are alerted when generating sandboxes fails