ci: add GitHub token to query bounties (#58)

Token has limited access to issues in this repo:
https://github.com/waku-org/bounties

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-17 15:37:34 +01:00 committed by GitHub
parent 65d4c32896
commit 5d6220f327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

10
Jenkinsfile vendored
View File

@ -28,7 +28,15 @@ pipeline {
stage('Build') {
steps {
sh 'yarn build'
/* Issues from waku-org/bounties are fetched. */
withCredentials([
string(
credentialsId: 'waku-org-bounties-access-gh-token',
variable: 'GITHUB_ACCESS_TOKEN'
),
]) {
sh 'yarn build'
}
sh "echo ${env.PROD_SITE} > build/CNAME"
}
}