Skip to content

Commit

Permalink
Fix website pr url (#2465)
Browse files Browse the repository at this point in the history
- Fixes Azure/typespec-azure#3601
  • Loading branch information
timotheeguerin authored Sep 21, 2023
1 parent 61ba17d commit e26e782
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tryit-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
`Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):`,
`Playground: https://cadlplayground.z22.web.core.windows.net/prs/${prNumber}/`,
"",
`Website: https://tspwebsitepr.z5.web.core.windows.net/prs/${prNumber}/`,
`Website: https://tspwebsitepr.z22.web.core.windows.net/prs/${prNumber}/`,
].join("\n")
})
4 changes: 0 additions & 4 deletions eng/pipelines/pr-tryit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ jobs:
--destination-path $(TYPESPEC_WEBSITE_BASE_PATH) \
--source "./packages/website/build/" \
--overwrite
- script: node eng/scripts/create-tryit-comment.js
displayName: Check already commented
continueOnError: true # Setting this in case this starts working again
2 changes: 1 addition & 1 deletion eng/scripts/create-tryit-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function main() {
`<!-- ${TRY_ID_COMMENT_IDENTIFIER} -->`,
`You can try these changes at https://cadlplayground.z22.web.core.windows.net${folderName}/prs/${prNumber}/`,
"",
`Check the website changes at https://tspwebsitepr.z5.web.core.windows.net${folderName}/prs/${prNumber}/`,
`Check the website changes at https://tspwebsitepr.z22.web.core.windows.net${folderName}/prs/${prNumber}/`,
].join("\n");
await writeComment(repo, prNumber, comment, ghAuth);
}
Expand Down

0 comments on commit e26e782

Please sign in to comment.