diff --git a/index.js b/index.js index 66a8a63..be43acb 100644 --- a/index.js +++ b/index.js @@ -8,9 +8,9 @@ require("dotenv").config() const GIT_URI = process.env.GIT_URI const GIT_BRANCH = process.env.GIT_BRANCH || "main" -const PROJECT_DIR = __dirname + "\\project" +const PROJECT_DIR = path.resolve(__dirname + "\\project") -const KEY_DIR = __dirname + "\\keys" +const KEY_DIR = path.resolve(__dirname + "\\keys") const KEY_LOCATION = path.resolve(KEY_DIR + "\\deploy.pem") const KEY_LOCATION_PUBLIC = path.resolve(KEY_LOCATION+".pub")