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.

Gitlab Sync Fail when connecting to a project within a Group

  • #2340
    Avatar photo[anonymous]

    Publii: v.0.35.3 (build 12104) and Publii-0.36.0-prerelease-5
    Server: Gitlab Pages

    Hi, I am working on getting Publii to connect to a Gitlab Project with Pages.

    For example i have a gitlab project called `https://gitlab.com/projectname/blog` (note that its inside a group) and when I use it directly using the domain `projectname.gitlab.io/blog` it works pretty well and sync properly.

    But if I use a custom domain such as `projectname.com`, I’ no longer sure what to put in the Repository field. When i put there `projectname/blog`, I get this error during syncing:

    image

    Here are some of the log files.

    Deployment Errors:
    `TypeError: Cannot read property ‘id’ of undefined
    at /Applications/Publii.app/Contents/Resources/app.asar/back-end/modules/deploy/gitlab-pages.js:169:42
    `
    Deployment Process
    `(!) CLIENT CREATED
    downloadFilesList: undefined`