Giter Site home page Giter Site logo

Comments (4)

github-actions avatar github-actions commented on June 12, 2024

It looks like this has been idle a while, so I am marking it as stale. Remove the label or comment if this issue should remain open.

from hugo-theme-introduction.

jenkuntz avatar jenkuntz commented on June 12, 2024

Hi @kendrickcc ... I'm running into the same issue but not solving even with following what you posted above. Did you need to add scripts to your package.json file as well to make this work?

from hugo-theme-introduction.

kendrickcc avatar kendrickcc commented on June 12, 2024

I don't recall editing the package.json, and I'm not able to reproduce it successfully. I will keep trying, but it appears I'm broken now as well.

from hugo-theme-introduction.

jenkuntz avatar jenkuntz commented on June 12, 2024

Sorry for the belated response, I should have posted this sooner. I did figure it out. This might not be the most technically correct explanation, but how I understand it is the Github Action Azure Static Web Apps creates does not support installing Hugo Extended. So, in order to work around it, I ended up altering the Build and Deploy section as the screenshot shows:

  • change app_location to /public
  • comment out the output_location
  • add skip_app_build: true to Azure does not try to build the site again.

Essentially GitHub Actions is building the site already, so I don't need Azure to do it again, when I can just push the published files to Azure instead.

Hopefully this helps someone... !

Hugo - github workflow edits

from hugo-theme-introduction.

Related Issues (20)

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.