Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Learn Publii to Gitlab page, Only index.html On Public Site

  • #9343
    Avatar photo[anonymous]

    Hello, can you help for my personal site on gitlab page.

    https://ccnot.gitlab.io

    So many child folders there, but only public/index.html is accessible on my webpage,
    I just modify some configuration so this is my last try and working but not all static assets accessible for public.

    
    

    >>> .gitlab-ci.yml

    image: alpine:latest
    pages:
    stage: deploy
    script:
    – echo ‘Nothing to do…’
    artifacts:
    paths:
    – public/
    – public/about-author/
    – public/amp/
    – public/amp/about-author/
    – public/amp/authors/cc/
    – public/amp/authors/cc/pime-maksud-hati-ingin-menebang-pohon/
    – public/amp/authors/cc/tags/about-me/
    – public/amp/authors/cc/tags/more-info/
    – public/amp/authors/cc/tags/more-info/
    – public/media/plugins/docSearch/
    – public/pime-maksud-hati-ingin-menebang-pohon/
    – public/tags/
    – public/tags/about-me/
    – public/tags/more-info/
    – public/assets/css/
    – public/assets/dynamic/fonts/oswald/
    – public/assets/js/
    – public/assets/svg/
    only:
    – main
    Screenshot server configuration on publii desktop
    https://drive.google.com/file/d/1O1usb_h_smyQ57yQDlY45zkW8_xTnM2k/view?usp=sharing
    Screenshot-from-2023-02-15-05-25-40
    
    #9411
    Avatar photo[anonymous]

    Hi,

    It seems that you have provided invalid domain – it should be just ccnot.gitlab.io 🙂