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

deploy.sh does not upload a working Ghost static file hierarchy #9

Open
AlexDaciuk opened this issue May 26, 2018 · 0 comments
Open

Comments

@AlexDaciuk
Copy link

AlexDaciuk commented May 26, 2018

Yesterday I was trying to setup Ghost in Github Pages with this tool

System : Arch Linux x64
Node: 8.11
npm: 6.1.0
yarn: 1.7.0
Ghost CLI: 1.7.3
Ghost: 1.23.0

After installing and having Ghost running in localhost without problems, when trying to deploy to github, the deploy.sh file doesn't upload all files correctly

After installing, in GHOST_PATH folder we end up with these folders

content/ 
current/ (which is a link to the latest version installed by Ghost CLI)
versions/
----> 1.23.0 (which is the latest version of Ghost today)
static/ (which is generated by buster)

Then, when you run deploy.sh, it runs a git add -A it does add all folders in GHOST_PATH, when we are really interested in the files in static, what is uploaded to github doesn't work

Adding an cd static/ before both **git add -A" make this work again, not sure if this is the more elegant solution though

@AlexDaciuk AlexDaciuk changed the title deploy.sh does not upload files in a correct hierarchy deploy.sh does not upload a working Ghost static file hierarchy May 26, 2018
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

1 participant