Git-Auto-Deploy icon indicating copy to clipboard operation
Git-Auto-Deploy copied to clipboard

gitlab not working for me

Open shashiranjanraj opened this issue 6 years ago • 1 comments

hi not working for me gitlab to server

config json

{ // HTTP server options "http-enabled": true, "http-host": "myserver", "http-port": 8001,

// HTTPS server options //"https-enabled": false, //"https-host": "0.0.0.0", //"https-port": 8002,

// Web socket server options (used by web UI for real time updates) //"wss-enabled": false, //"wss-host": "0.0.0.0", //"wss-port": 8003,

// Web user interface options "web-ui-enabled": true, "web-ui-username": null, "web-ui-password": null, "web-ui-whitelist": ["127.0.0.1"],

// TLS/SSL cert (necessary for HTTPS and web socket server to work) //"ssl-key": null, // If specified, holds the private key //"ssl-cert": "cert.pem", // Holds the public key or both the private and public keys

// File to store a copy of the console output "log-file": "~/gitautodeploy.log",

// File to store the process id (pid) "pid-file": "~/.gitautodeploy.pid",

// Record all log levels by default "log-level": "INFO",

// Deploy commands that should be executed for all projects //"global_deploy": [ // "echo Deploy started!", / "echo Deploy started!", // "echo Deploy completed!" //],

"repositories": [ { "url": "https://gitlab.com/amitgupta.kelvin/myproject.git", "branch": "beta", "remote": "origin", "path": "/var/www/html/", "deploy": "echo deploying" },

{
  "url": "[email protected]:amitgupta.kelvin/myproject.git",
  "path": "/var/www/html/"
},
{
  "url": "https://gitlab.com/amitgupta.kelvin/myproject.git",
  "deploy": "echo deploying after pull request",
  "filters": [
    {
      "type": "pull-request-filter",
      "action": "closed",
      "ref": "testing-branch"
    }
  ]
}

] }

shashiranjanraj avatar Aug 09 '18 07:08 shashiranjanraj

What is not working? Can you provide some error logs/information? I see you are pulling same repo on same locations but once with ssh and another time with https. Do you have public part of ssh key in deploy keys?

Letme avatar Aug 09 '18 08:08 Letme