deyes19

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Deploy Ubuntu 20.04 Focal Fossa Discussion

Hi, is a good guide. cannot deploy. I get the following error, can you help me?

cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as user@xx.xxx.xxx.xxx: git exit status: 2
git stdout: Nothing written
git stderr: fatal: not a valid object name: master
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Caused by:
SSHKit::Command::Failed: git exit status: 2
git stdout: Nothing written
git stderr: fatal: not a valid object name: master
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Solved!

Add in deploy rb

set :branch, :main