Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to gitlab pages #280

Open
vilinski opened this issue Apr 15, 2020 · 0 comments
Open

Deploy to gitlab pages #280

vilinski opened this issue Apr 15, 2020 · 0 comments

Comments

@vilinski
Copy link

vilinski commented Apr 15, 2020

I'm missing a description how to deploy to gitlab pages.

So I tried to build it myself without luck.

With following structure of the doc folder:

  • index.html - copy pasted from a sidebar sample
  • Installation.md
  • Introduction.md

and following .gitlab-ci.ymlfile, which does nothing than copying the folder content topublic` what the gitlab serves than:

pages:
    stage: deploy
    script:
        - cp -R doc public
    artifacts:
        paths:
            - public
    only:
        - pages

If I serve the folder locally it works
But after that I'm gettitn a deployed page, but links to sub markdowns are showing 404 page.

Do I miss something trivial in the index.html or in the deployment pipeline?

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

No branches or pull requests

1 participant