diff options
-rw-r--r-- | Jenkinsfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index dbb0d9cd..d658d6ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -226,6 +226,13 @@ pipeline { workingDir: 'build', includePathPattern: 'vyos*.iso') s3Copy(fromBucket: 's3-us.vyos.io', fromPath: 'rolling/' + getGitBranchName() + '/' + files[0].name, toBucket: 's3-us.vyos.io', toPath: getGitBranchName() + '/vyos-rolling-latest.iso') + + // Trigger site rebuild so the download shows. + sh """ + curl -X POST --header "Accept: application/vnd.github.v3+json" \ + --header 'authorization: Bearer $TOKEN' --data '{"ref": "production"}' \ + https://api.github.com/repos/vyos/community.vyos.net/actions/workflows/main.yml/dispatches + """ } } |