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
feita há 2 anos57 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas