Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with deploy process #85

Open
hampelm opened this issue Mar 5, 2016 · 2 comments
Open

Issues with deploy process #85

hampelm opened this issue Mar 5, 2016 · 2 comments

Comments

@hampelm
Copy link
Member

hampelm commented Mar 5, 2016

My local repository and this repository have a viewport meta tag in index.html. When I run git push live gh-pages per the readme to deploy, git says everything is up to date. However, that viewport tag is not on the live pages.

Is it possible the post-receive hook isn't working?

@bnchdrff
Copy link
Member

bnchdrff commented Mar 5, 2016

It isn't working -- the hack that we'd been doing before was to scp things to the prod server.. let me dig up the command...

@bnchdrff
Copy link
Member

bnchdrff commented Mar 5, 2016

In lieu of figuring out our deploy headache, i suggest the following hack:

# after you build locally,
cd LOCAL_REPO/dist
tar -cz . | ssh [email protected] 'cd /var/lib/docker/aufs/mnt/`docker inspect --format='{{.Id}}' gnl-frontend`/opt/gnl-frontend/dist && tar zx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants