Hello everyone,
I am trying to implement the suggested solution in this feature request: - Make it possible to accumulate content in GitLab Pages (#15156) · Issues · GitLab.org / GitLab · GitLab
that suggests using
- $(wget --no-check-certificate $CI_PAGES_URL/content.tar.gz -O prev_content.tar.gz || exit 0;);
However, in my GitLab project the pages should be private, how do I authenticate to the pages URI to retrieve the content.tar.gz archive that I created? If I try to download it manually it will work, but in CI/CD it goes to a redirect and needs to login.