summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-06-06 15:23:18 -0500
committerKim Hagen <kim@sentrium.io>2021-06-06 15:23:18 -0500
commitf12394c0f350180c465de0984a47547b855e7f2d (patch)
tree1b8f1890833435fd349c28e8f215d6a6d4bea74c /Jenkinsfile
parent08b03d561f2f5fa942f36be3f17364804d5f1c16 (diff)
downloadvyos-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--Jenkinsfile2
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
'''
}