AWS Amplify 404 issue

0

Hi there,

I want to deploy my Hugo site on AWS Amplify, I set up all the settings, but I finally got this:

404

This domain was once hosted on GitHub, and I have completed the migration.

My build config:

version: 1
frontend:
  phases:
    build:
      commands:
        - rm -rf /usr/bin/hugo
        - wget -q https://github.com/gohugoio/hugo/releases/download/v${VERSION_HUGO_NEW}/hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - tar -xvf hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - mv hugo /usr/bin/hugo
        - rm -rf hugo_extended_${VERSION_HUGO_NEW}_Linux-64bit.tar.gz
        - hugo
  artifacts:
    baseDirectory: public
    files:
      - '**/*'
  cache:
    paths: []

Amplify:

Enter image description here

Thanks for your help.

  • Are you sure the domain (allyonsygama.com) is correct? It is not resolving using public DNS servers.

Allonsy
gefragt vor 2 Jahren57 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen