Skip to content

Landing page#3

Open
Miguelgr97 wants to merge 4 commits into
substationworm:mainfrom
2025-26-EI-Projects:LandingPage
Open

Landing page#3
Miguelgr97 wants to merge 4 commits into
substationworm:mainfrom
2025-26-EI-Projects:LandingPage

Conversation

@Miguelgr97

Copy link
Copy Markdown

Configuração do GitHub Pages
1.⁠ ⁠Aceder às definições do repositório:

  • ⁠Abrir o repositório no GitHub.
  • ⁠Clicar em Settings (Definições) no menu superior.
  • ⁠No menu lateral esquerdo, navegar para → Pages

2.⁠ ⁠Configurar o GitHub Pages

Na página Pages:
1.⁠ ⁠Em Build and deployment:
Em Source, selecionar GitHub Actions.

2. ⁠Após a execução do workflow, o GitHub irá gerar um endereço semelhante a:

             https://<utilizador>.github.io/<nome-do-repositorio>/

O endereço ficará visível na parte superior da página, na secção:
Your site is live at ...

3.⁠ ⁠Atualizar o ficheiro ⁠ hugo.yaml ⁠

Depois de obter o URL gerado pelo GitHub Pages, é necessário atualizar a propriedade ⁠ baseURL ⁠ no ficheiro ⁠ hugo.yaml ⁠.
Valor atual:
baseURL: "https://josejoao05.github.io/ExemploPagina.github.io/"

Substituir por:
baseURL: "https://.github.io//"

Após alterar o ⁠ baseURL ⁠, fazer commit e push da alteração para que o site seja reconstruído com os links corretos.

4.⁠ ⁠Confirmar publicação
Após alguns minutos:

  • ⁠Voltar a Settings → Pages.
  • Verificar se aparece a mensagem:
    Your site is live at https://.github.io//

Copilot AI review requested due to automatic review settings June 25, 2026 22:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants