Giter Site home page Giter Site logo

every site is strange about upptime HOT 4 CLOSED

upptime avatar upptime commented on May 12, 2024 1
every site is strange

from upptime.

Comments (4)

AnandChowdhary avatar AnandChowdhary commented on May 12, 2024 4

Thanks for the reports! If you try running the Static Site CI again, it should work now! 😄 This got broke as I added support for publishing under subdirectories last night, but should be all fixed now.

I've tested it here: https://github.com/upptime/upptime/runs/1320528347

More about how to run Static Site CI and other workflows: https://upptime.js.org/docs/triggers/

from upptime.

sebastianroming avatar sebastianroming commented on May 12, 2024

Facing the same issue, no matter what I've tried to configure, the status page always tries to load files from /status-website/*. I've set up a custom Domain (CNAME) for the repo and commented out the baseUrl property.

from upptime.

sebastianroming avatar sebastianroming commented on May 12, 2024

@AnandChowdhary Thanks for this quick fix, but I'm not sure this works as expected, as the Static Site CI issues the following error (but still succeeds):

/home/runner/work/[REPONAME]/[REPONAME]/site/status-page/__sapper__/build/server/server.js:27710
let config$1 = jsYaml.safeLoad(fs__default$1['default'].readFileSync(join(".", ".upptimerc.yml"), "utf8"));
                                                        ^

ReferenceError: join is not defined
    at Object.<anonymous> (/home/runner/work/[REPONAME]/[REPONAME]/site/status-page/__sapper__/build/server/server.js:27710:57)

from upptime.

sebastianroming avatar sebastianroming commented on May 12, 2024

@AnandChowdhary Now the deployment works, the files are getting loaded as expected. But the status page now just states an Error 404, without content (or uptimes).

from upptime.

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.