Gert Cuykens
Gert Cuykens

Reputation: 7175

git push and deploy for golang appengine

appcfg.py --oauth2 update ./ works but want to replace it with git push and deploy. After succesfull push, appengine gives me errors that my .go files are not compiled.

Is it possible for appengine to compile the files when using a git repo? If not do I need to place the compiled files in another directory?

Upvotes: 1

Views: 431

Answers (1)

Attila O.
Attila O.

Reputation: 16625

This is a known issue. Please star it.

For now, all you can do is keep using appcfg.py. If it is cumbersome to do the OAuth authorisation all the time (or you have multiple accounts), consider storing your refresh token and then doing:

appcfg.py update . --oauth2 --oauth2_refresh_token=`cat .token`

Upvotes: 1

Related Questions