diff options
author | Kim Hagen <kim@sentrium.io> | 2021-06-06 15:23:18 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-06-06 15:23:18 -0500 |
commit | f12394c0f350180c465de0984a47547b855e7f2d (patch) | |
tree | 1b8f1890833435fd349c28e8f215d6a6d4bea74c /Jenkinsfile | |
parent | 08b03d561f2f5fa942f36be3f17364804d5f1c16 (diff) | |
download | vyos-build-f12394c0f350180c465de0984a47547b855e7f2d.tar.gz vyos-build-f12394c0f350180c465de0984a47547b855e7f2d.zip |
Jenkins: update singele quotes to double quotes arount the GitHub token
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index eae878c1..37898220 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -232,7 +232,7 @@ pipeline { withCredentials([string(credentialsId: 'GitHub-API-Token', variable: 'TOKEN')]) { sh ''' curl -X POST --header "Accept: application/vnd.github.v3+json" \ - --header 'authorization: Bearer $TOKEN' --data '{"ref": "production"}' \ + --header "authorization: Bearer $TOKEN" --data '{"ref": "production"}' \ https://api.github.com/repos/vyos/community.vyos.net/actions/workflows/main.yml/dispatches ''' } |