Comments (5)
Thanks to @jpopelka for the fix. I've just released v2.1.0 of this action.
from hugo-deploy-gh-pages.
You should submit that change as a PR
How can I actually fix this?
@brunoaugusto The only way I found is #50. If you're still having the issue, you can try my fork@branch
uses: jpopelka/hugo-deploy-gh-pages@safe-directory
until it's fixed in this repo.
from hugo-deploy-gh-pages.
Hey there @jpopelka
Just a note to say I've seen this, but currently cannot replicate this. This is the config I've just deployed with
- name: Deploy the site
uses: benmatselby/hugo-deploy-gh-pages@main
env:
TARGET_REPO: benmatselby/benmatselby.github.io
TARGET_BRANCH: main
TOKEN: ${{ secrets.TOKEN }}
CNAME: benmatselby.dev
from hugo-deploy-gh-pages.
@jpopelka You should submit that change as a PR
I've just started seeing this recently as well.
I found this on StackOverflow:
https://stackoverflow.com/questions/72978485/git-submodule-update-failed-with-fatal-detected-dubious-ownership-in-repositor
My repo has submodules.
from hugo-deploy-gh-pages.
How can I actually fix this?
I've tried several "solutions" and workarounds involving git config
(even though I don't have the directory mentioned in the error among my files), tried to take ownership of the directory and nothing worked. In the end, I had to do an update like in the old days, cloning my public repository, compiling Hugo files and committing manually.
Everything was running just fine the past month when I did the last update before the holidays.
from hugo-deploy-gh-pages.
Related Issues (10)
- Suggest do not use git diff HOT 1
- Failure to build current academic-kickstarter due to lack of hugo extended HOT 2
- TARGET_REPO parameters
- Is it possible to push to Branch on target repository?
- Is it possible to change the default of Target repository to branch? HOT 7
- 0.6 Release HOT 1
- failed to download modules: exec: "go" HOT 13
- Hugo's 'publishDir' prevents the Action to complete HOT 3
- Redundant parameters still listed as 'required' in `action.yml` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-deploy-gh-pages.