benWize commented on code in PR #23405:
URL: https://github.com/apache/beam/pull/23405#discussion_r996072761


##########
website/build.gradle:
##########
@@ -115,9 +115,39 @@ task buildCodeSamples(type: Exec) {
               "${->startDockerContainer.containerId()}", 'yarn', 
'build_code_samples'
 }
 
+task cloneRepository(type: Exec) {
+  def branch = System.getenv('ghBranch') ?  System.getenv('ghBranch'):
+          grgit ? grgit.branch.current().getName(): 'master'
+  def repositoryUrl = System.getenv('repositoryUrl') ? 
"https://github.com/${System.getenv('repositoryUrl')}" :

Review Comment:
   It will be different when it is run from a fork, but we can leave it as just 
apache/beam



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to