M
M
magary42015-05-14 15:07:52
git
magary4, 2015-05-14 15:07:52

Git not coming out on amazon?

this is not the first time I deploy the project in this way
habrahabr.ru/post/178965
usually I do git push and the project files appear on the server,
but this time I need to push to the amazon server, this is what
Counting objects says: 9, done.
Delta compression using up to 32 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 483 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)
To ssh://[email protected]/home/ec2-user/project
ec4999a..40b3ea9 master -> master
but the project does not appear on the target server,
what could be cause?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Volynkin, 2015-05-14
@magary4

At first glance, everything is fine with the push, maybe the server .git/hooks/post-receive does not work.
Things to check:
1. That the server has permission to execute the hook.
2. git remote show amazon, check that master... pushes to master... (up to date).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question