From 28c4b4cc66993ea625c2e53bfa44f4dd24cae279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Christian=20Langfj=C3=A6ran?= Date: Thu, 10 Jan 2019 14:08:19 +0100 Subject: [PATCH] Add GITHUB_TOKEN to example code --- github-deploy/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/github-deploy/README.md b/github-deploy/README.md index 511e526..912f4e0 100644 --- a/github-deploy/README.md +++ b/github-deploy/README.md @@ -46,6 +46,7 @@ action "Success" { uses = "docker://byrnedo/alpine-curl" args = "echo hallois" runs = "/github/home/bin/deployment-exec-try" + secrets = ["GITHUB_TOKEN"] needs = ["Add deployscripts"] } @@ -53,6 +54,7 @@ action "This one failes and updates Deployment API with error" { uses = "docker://byrnedo/alpine-curl" args = "cd this-folder-does-not-exist" runs = "/github/home/bin/deployment-exec-try" + secrets = ["GITHUB_TOKEN"] needs = ["Add deployscripts"] } ``` @@ -71,4 +73,4 @@ _Requires the container to have `curl` installed._ The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE.MIT) and [Apache 2](LICENSE.APACHE2). -It uses the excellent [JSON.sh](https://github.com/dominictarr/JSON.sh) for json parsing. \ No newline at end of file +It uses the excellent [JSON.sh](https://github.com/dominictarr/JSON.sh) for json parsing.