Action pulling source repo instead of deployment repo (was working a few weeks ago) #1782
-
I have a repository with my website source (with static site generator), which generates the HTML into the It seems like it is trying to deploy the source repository rather than the deployment one specified in
Note how it says I also tried doing a What am I doing wrong here? This is how I am using the action:
It also throws some Git LFS errors as it tries to push Git LFS artifacts that are defined in the source repo to the deployment repo (which doesn't have any LFS artifacts). I found a discussion talking about something like this being fixed in v4.6.1, but I am using a newer version and it is still failing. I also tried rolling back to the old |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The LFS error is what's ultimately causing this to fail, the commit hash bit you're seeing shouldn't matter, it's just trying to create a detatched version it can push to your destination repo.
This is the first time I've seen this error however. Are you sure nothing is committing LFS resources in a prior step? |
Beta Was this translation helpful? Give feedback.
-
I was able to fix this by adding the following extra step before the Deploy GH Pages step:
|
Beta Was this translation helpful? Give feedback.
I was able to fix this by adding the following extra step before the Deploy GH Pages step: