Skip to content

yosukesuzuki/hugo-gae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circle CI

hugo-gae

hugo and Google App Engine/Go static file serving example.

install hugo

for mac user

$ brew install hugo

install google cloud sdk

see this document https://cloud.google.com/sdk/#Quick_Start

deploy by circleci

generate oauth2 refresh token

$ python ~/google-cloud-sdk/platform/google_appengine/appcfg.py update . --oauth2

and then check the "refresh_token" value

$ cat ~/.appcfg_oauth2_tokens

set Environ variable in Project Settings > Environment Variables

Name is "APPENGINE_TOKEN" Value is value of refresh_token Project_settings_-yosukesuzuki_hugo-gae-_CircleCI.png

do you want to deploy to s3?

check out this circle.yml https://github.com/nathany/hugo-deploy/blob/master/circle.yml

About

hugo and gae static file serving

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published