sample workflow

This commit is contained in:
Casey Lee 2019-01-14 23:51:28 -08:00
parent c11ed239f5
commit 4c2c97c564
No known key found for this signature in database
GPG Key ID: 4CC378651BF9C168
2 changed files with 7 additions and 3 deletions

View File

@ -28,6 +28,9 @@ action "branch-filter" {
action "deploy" {
needs = ["branch-filter"]
uses = "actions/bin/sh@master"
args = ["echo Deploy with secret $PHONY_SECRET"]
args = ["env"]
secrets = ["PHONY_SECRET"]
env = {
PHONY_ENV = "foo"
}
}

View File

@ -10,10 +10,11 @@
},
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"mocha": "^5.2.0"
},
"scripts": {
"start": "node index.js",
"test": "mocha ./tests --recursive"
"start": "node index.js",
"test": "mocha ./tests --recursive"
}
}