<div dir="auto"><div dir="auto">Daniel,</div><div dir="auto"><br></div><div dir="auto">I literally just followed the example:</div><div dir="auto"><br></div><a href="https://docs.gitlab.com/ee/ci/yaml/#pages">https://docs.gitlab.com/ee/ci/yaml/#pages</a><div dir="auto"><br></div><div dir="auto">As I recall, there's a recursive loop if you don't use .public.</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 1, 2018, 4:17 AM Daniel Stone <<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 1 June 2018 at 11:23, Eric Engestrom <<a href="mailto:eric.engestrom@intel.com" target="_blank" rel="noreferrer">eric.engestrom@intel.com</a>> wrote:<br>
> On Friday, 2018-06-01 11:16:29 +0100, Daniel Stone wrote:<br>
>> <a href="https://docs.gitlab.com/ee/user/project/pages/introduction.html" rel="noreferrer noreferrer" target="_blank">https://docs.gitlab.com/ee/user/project/pages/introduction.html</a><br>
>> > Be aware that Pages are by default branch/tag agnostic and their<br>
>> > deployment relies solely on what you specify in .gitlab-ci.yml. If<br>
>> > you don't limit the pages job with the only parameter, whenever<br>
>> > a new commit is pushed to whatever branch or tag, the Pages will be<br>
>> > overwritten.<br>
><br>
> Hmm, so that means we can't get MRs to build artifacts?<br>
> Is there a way to say "build: always; deploy: only: master"?<br>
<br>
Right, it's a little awkward, but still possible:<br>
<a href="https://docs.gitlab.com/ee/user/project/pages/getting_started_part_four.html#stages" rel="noreferrer noreferrer" target="_blank">https://docs.gitlab.com/ee/user/project/pages/getting_started_part_four.html#stages</a><br>
<br>
Basically, in master you build to and capture 'public', and off master<br>
you build to and capture another path. If you don't have an artifact<br>
with public/ in it, the site won't get updated, but you can still pull<br>
the artifacts.<br>
<br>
(I'd typed out roughly the same thing before thinking 'there must be a<br>
better way' and finding the docs. The only difference is that I'd had<br>
separate build/deploy stages to avoid duplicating the build<br>
instructions.)<br>
<br>
Cheers,<br>
Daniel<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank" rel="noreferrer">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>