Coder Social home page Coder Social logo

Comments (5)

benmatselby avatar benmatselby commented on August 14, 2024 2

Thanks to @jpopelka for the fix. I've just released v2.1.0 of this action.

from hugo-deploy-gh-pages.

jpopelka avatar jpopelka commented on August 14, 2024 1

You should submit that change as a PR

@dashaun #50

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.

benmatselby avatar benmatselby commented on August 14, 2024

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.

dashaun avatar dashaun commented on August 14, 2024

@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.

brunoaugusto avatar brunoaugusto commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.