antonioribeiro / antonioribeiro/deeployer

Nothing Pushing to Server

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
147
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hello. For the life of me I can't figure out why everything seems to be working but new code isn't pushed to the production server. Config is as follows:

```
'projects' => array(
array(
'ssh_connection' => 'production',

'git_repository' => 'git@github.com:mcblum/app.nationalmachine.co.git',

'git_remote' => 'origin',

'git_branch' => 'master',

'remote_directory' => '~/www/app',

'composer_update' => true,

'composer_optimize_autoload' => true,

'composer_extra_options' => '',

'composer_timeout' => 60 * 5, // 5 minutes

'artisan_migrate' => false,

'post_deploy_commands' => array(
'zsh send-deployment-emails.sh',
),
),
),
```

and

```
'default' => 'production',

'connections' => array(

'production' => array(
'host' => 'app.nationalmachine.co:(port we're using)',
'username' => 'national',
'key' => '~/.ssh/id_rsa.pub',
'keyphrase' => '',
'root' => '~/www/app',
),

),
```

Any help would be greatly appreciated. Thank for you taking the time to develop tools for all to use!

ETA: Composer is up to date, response code is 200 when I look at the webhook in git.
ETA2: I also tried changing 'git_repository' => to https://github.com/mcblum/app.nationalmachine.co, 'username' to root, and the host to the ip address rather than the domain name.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the deployment configuration shown in the issue, checking the production SSH connection, repository, branch, and remote directory settings. Reproduce or trace the deployment flow and verify that a new commit reaches the production server; the issue is done when code is pushed successfully without configuration errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.