Skip to content

Commit

Permalink
Merge pull request #10 from addianto/bugfix/boolean-usedocker
Browse files Browse the repository at this point in the history
Fix useDocker input parsing
  • Loading branch information
ElayGelbart authored Aug 31, 2022
2 parents 714f7d7 + 9c7e455 commit ab1f59e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ inputs:
description: "Heroku API key"
required: true
useDocker:
description: "Selected branch to deployment"
default: ""
description: "Deploy the container image (Dockerfile) to Heroku"
default: "false"
required: false
branch:
description: "Selected branch to deployment"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import gitDeployment from "./git/main";
process.env.HEROKU_API_KEY = HerokuApiKey;
const appName = core.getInput("herokuAppName");
core.info(`Application Name: ${appName}`);
const useDocker = new Boolean(core.getInput("useDocker"));
const useDocker = core.getBooleanInput("useDocker");
if (useDocker) {
console.log("🐋 deployment with Docker 🐋");
dockerDeployment(appName);
Expand Down

0 comments on commit ab1f59e

Please sign in to comment.