Skip to content

Commit

Permalink
👌 Rename everything to WebAppIO
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-anderson committed Aug 27, 2021
1 parent 78b95d2 commit 933fd07
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# layerCI-GHAction
This action sends a post request to the layerCI webhook
# WebAppIO-GHAction

This action sends a post request to the WebAppIo webhook
20 changes: 10 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: 'LayerCI-Webhook'
description: 'Manually start a pipeline in LayerCI'
name: "WebAppIO-Webhook"
description: "Manually start a pipeline in WebAppIO"
inputs:
apiKey:
description: 'LayerCI API Key'
description: "API Key"
required: true
repoName:
description: 'repository name'
description: "repository name"
required: true
apiExtra:
apiExtra:
description: :'some extra data exposed as API_EXTRA variable'
required: true
buttons:
description: 'whether to automatically accept any BUTTON instructions in the job'
description: "whether to automatically accept any BUTTON instructions in the job"
required: true
branch:
description: 'branch'
description: "branch"
required: true
ref:
description: 'SHA of commit to checkout'
description: "SHA of commit to checkout"
required: true
runs:
using: 'node12'
main: 'index.js'
using: "node12"
main: "index.js"
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ try {
const branch = core.getInput('branch')
const ref = core.getInput('ref')

const url = `https://layerci.com/api/v1/run/${repoName}?layertoken=${apiKey}`
const url = `https://webappio.com/api/v1/run/${repoName}?token=${apiKey}`
const payload =
{
method: "POST",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "layerci-ghaction",
"name": "WebAppIO-ghaction",
"version": "1.0.0",
"description": "This action sends a post request to the layerCI webhook",
"description": "This action sends a post request to the WebAppIO webhook",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tommy-anderson/layerCI-GHAction.git"
"url": "git+https://github.com/tommy-anderson/WebAppIO-GHAction.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/tommy-anderson/layerCI-GHAction/issues"
"url": "https://github.com/tommy-anderson/WebAppIO-GHAction/issues"
},
"homepage": "https://github.com/tommy-anderson/layerCI-GHAction#readme",
"homepage": "https://github.com/tommy-anderson/WebAppIO-GHAction#readme",
"dependencies": {
"@actions/core": "^1.2.7",
"@actions/github": "^4.0.0",
Expand Down

0 comments on commit 933fd07

Please sign in to comment.