fabric

When trying to deploy to an external server with the fabric command

Username for 'https://github.com':

You may be asked for your username and password. If there is such a thing, it can not be fully automatic, so it is very troublesome.

run("git remote set-url origin https://user-name:[email protected]/UserName/RepositoryName.git")


run("git pull origin master")

Remarks

Add one by one.

Recommended Posts

fabric
fabric Writing Tips
Summary when using Fabric
Operate Gunicorn via Fabric