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

Docker via GitHub action: .png, .css and .js files become zero length in _site #44

Open
peterbrightwell opened this issue Nov 1, 2021 · 0 comments

Comments

@peterbrightwell
Copy link
Contributor

peterbrightwell commented Nov 1, 2021

This only happens when building using the docker container and GitHub action.

Some file types -- .png, .js, .css -- are zero length in _site/branches and _site/releases.

I've worked round this by renaming them either side of the jekyll build. See 922317d.

This doesn't occur when running the container using e.g.

docker run -e GITHUB_REPOSITORY=AMWA-TV/nmos-template -e SSH_USER -e SSH_HOST -e SSH_KNOWN_HOSTS -e SSH_PRIVATE_KEY amwa/nmos-render:latest

GitHub actions adds lots more env settings which may be relevant.

Maybe this is because we are using the github-pages jekyll plugin?

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