Closed johlym closed 2 years ago
I'm not able to reproduce this (for example I downloaded https://github.com/bridgetownrb/fundraising-site/tarball/main
, extracted it, ran bundle/yarn install, and ran bin/bridgetown deploy
without issue). If you can produce a link to your repo with this issue, I'll investigate further.
Wild. Here's where I'm seeing it: johlym/johnathan-org. I'll keep poking at it–yank stuff out until it goes away.
I've narrowed this down to the bridgetown-sitemap
plugin. ~I'll open an issue there.~ Opened https://github.com/ayushn21/bridgetown-sitemap/issues/1.
Bridgetown Version: bridgetown 1.0.0.beta2 "Pearl"
To Reproduce
wget -O - https://github.com/username/repo-name/tarball/master | tar xz
cd
into the resulting directorybundle install
andyarn install
to ensure all libraries are installed within the environmentbridgetown start
orbridgetown deploy
(any command that generates stuff for/output
)Current behavior Bridgetown builds the site as instructed
Expected behavior Bridgetown builds the site as instructed One copy of
fatal: not a git repository (or any of the parent directories): .git
is printed for every generated page inoutput
(For Heroku, a second line is printed:Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
)Screenshots
Computing environment (please complete the following information):
Additional context I do not see a reason why the render stage should need to do anything git-related. A proper
.gitignore
would omit any produced output, and if the site is being deployed elsewhere and not pulled down from source control usinggit clone
, this will always be an issue–the render stage assumes it's always being run in within an active Git repo.I confirmed this is happening in the
render
stage by way of addingputs
statements inprocessable.rb
. I lost the scent after that without shoving moreputs
in a bunch of places.