Skip to content

Commit

Permalink
Fix OSS integration tests for docs (#3663) (#20578)
Browse files Browse the repository at this point in the history
+ Routes Slack notifications to '#docs'
+ Sets default value of SKIP_DEPLOY variable in deploy_docusaurus
  script
  • Loading branch information
tkorenko authored Dec 16, 2022
1 parent 7806966 commit 79bfe56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# 'C02TYDSUM8F' => '#dev-deploys'
# 'C03BEADRPNY' => '#docs'
args: >-
{\"channel\":\"C02TYDSUM8F\",\"attachments\":[
{\"channel\":\"C03BEADRPNY\",\"attachments\":[
{\"color\":\"#ff0000\",\"blocks\":[
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"OSS Docs deploy fails on the latest master :bangbang:\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"_merged by_: *${{ github.actor }}*\"}},
Expand All @@ -74,7 +74,7 @@ jobs:
# 'C02TYDSUM8F' => '#dev-deploys'
# 'C03BEADRPNY' => '#docs'
args: >-
{\"channel\":\"C02TYDSUM8F\",\"attachments\":[
{\"channel\":\"C03BEADRPNY\",\"attachments\":[
{\"color\":\"#00ff00\",\"blocks\":[
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"OSS Docs deploy was successful :tada:\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"_merged by_: *${{ github.actor }}*\"}},
Expand Down
1 change: 1 addition & 0 deletions tools/bin/deploy_docusaurus
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# $0 is the currently running program (this file)
this_file_directory=$(dirname $0)
relative_path_to_defaults=$this_file_directory/../shell_defaults
SKIP_DEPLOY=${SKIP_DEPLOY:-'no'}

# if a file exists there, source it. otherwise complain
if test -f $relative_path_to_defaults; then
Expand Down

0 comments on commit 79bfe56

Please sign in to comment.