vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.25k stars 2.14k forks source link

When deploying GitHub Pages following the documentation, the workflow encounters an error. #4206

Closed Mskins closed 2 months ago

Mskins commented 2 months ago

Describe the bug

When deploying GitHub Pages following the documentation, the workflow encounters an error. PixPin_2024-09-17_00-38-15

Reproduction

none

Expected behavior

How do I configure the settings to correctly execute the workflow?

System Info

none

Additional context

No response

Validations

brc-dd commented 2 months ago

You probably don't have docs as the root directory or maybe something else as root directory. Change this line in your actions workflow to wherever you've .vitepress directory - path: docs/.vitepress/dist (like maybe path: .vitepress/dist if you have content in your current directory.)