<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2019 at 12:51 PM Erik Huelsmann <<a href="mailto:ehuels@gmail.com">ehuels@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 class="gmail_quote"><br><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" target="_blank">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" target="_blank">https://docs.gitlab.com/ee/ci/yaml/#rules</a>) .</div></div></blockquote><div><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">This should work well enough.  I was changing the web pages locally, and have a simple server to look at them.  But sometimes they look fine locally but when they get deployed, something is missing, usually an incorrect path.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">For now, I'll just continue with my current branch changing the site and when it's merged, I'll update the config to deploy only on the master branch.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Thanks for your help.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"></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 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"><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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div></div>Ray<br></div></div></div>