<div dir="ltr"><div>Hi Raymond,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2019 at 8:50 PM Raymond Toy <<a href="mailto:toy.raymond@gmail.com">toy.raymond@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">Currently, cmucl-site generates the site on any branch.</div></div></blockquote><div><br></div><div>Yes. And it deploys it on each branch.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">This also means that any in-progress branch modifies the official site.  I think this should only happen for the main branch (or some other official branch).</div></div></blockquote><div><br></div><div>I think you want to <i>build</i> on every branch, but only deploy on some official site branch.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">For other branches, I want it uploaded so I can see the results, but doesn't update the official site.<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Any ideas on this?  Will staging areas work?  What about gitlab environments?</div></div></blockquote><div><br></div><div>Actually, your results are already being uploaded to the GitLab server (available for browsing or download) on every job that has "artifacts" set. E.g. see <a href="https://gitlab.common-lisp.net/cmucl/cmucl-site/-/jobs/2264">https://gitlab.common-lisp.net/cmucl/cmucl-site/-/jobs/2264</a> where on the right column, there's the option to "download" or "browse" the artifacts from that job.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">I'm thinking that if that's "enough", all we need to do is restrict the "pages" step to a specific branch with the "only" 'keyword' (soon to be replaced by 'rules': <a href="https://docs.gitlab.com/ee/ci/yaml/#rules">https://docs.gitlab.com/ee/ci/yaml/#rules</a>) .</div><div class="gmail_quote"><br></div><div class="gmail_quote">HTH,<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">-- <br></div><div dir="ltr" class="gmail_signature"><div dir="ltr">Bye,<div><br></div><div>Erik.</div><div><br></div><div><a href="http://efficito.com/" target="_blank">http://efficito.com</a> -- Hosted accounting and ERP.</div><div>Robust and Flexible. No vendor lock-in.</div></div></div></div>