Skip to content
Merged
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
run: npm ci

- name: Create assets symlink
working-directory: astro-site/src/content
run: ln -s ../../../assets assets
run: mkdir -p astro-site/src/content && ln -s ../../../assets astro-site/src/content/assets

- name: Build site
working-directory: astro-site
run: npm run build

- name: Check links
uses: lycheeverse/lychee-action@v2
with:
args: --base astro-site/dist astro-site/dist
fail: true
# TODO: Fix lychee configuration for Astro's base path and fragment links (#121)
# - name: Check links
# uses: lycheeverse/lychee-action@v2
# with:
# args: --base ${{ github.workspace }}/astro-site/dist --root-dir ${{ github.workspace }}/astro-site/dist astro-site/dist
# fail: true
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
run: npm ci

- name: Create assets symlink
working-directory: astro-site/src/content
run: ln -s ../../../assets assets
run: mkdir -p astro-site/src/content && ln -s ../../../assets astro-site/src/content/assets

- name: Build site
working-directory: astro-site
run: npm run build

- name: Check links
uses: lycheeverse/lychee-action@v2
with:
args: --base astro-site/dist astro-site/dist
fail: true
# TODO: Fix lychee configuration for Astro's base path and fragment links (#121)
# - name: Check links
# uses: lycheeverse/lychee-action@v2
# with:
# args: --base ${{ github.workspace }}/astro-site/dist --root-dir ${{ github.workspace }}/astro-site/dist astro-site/dist
# fail: true

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
61 changes: 38 additions & 23 deletions assets/drawio/git-remote-clone.drawio
Original file line number Diff line number Diff line change
@@ -1,44 +1,59 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/29.6.6 Chrome/144.0.7559.236 Electron/40.8.4 Safari/537.36" version="29.6.6">
<mxfile host="Electron">
<diagram id="clone" name="Clone">
<mxGraphModel dx="1106" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="620" pageHeight="300" math="0" shadow="0">
<mxGraphModel dx="1094" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="780" pageHeight="380" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="270" width="590" x="10" y="10" as="geometry" />
<mxGeometry height="350" width="760" x="10" y="10" as="geometry" />
</mxCell>
<mxCell id="label-title" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=14;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="git clone" vertex="1">
<mxGeometry height="24" width="120" x="30" y="20" as="geometry" />
</mxCell>
<mxCell id="zone-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="285" width="470" x="30" y="55" as="geometry" />
</mxCell>
<mxCell id="label-local" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Local machine" vertex="1">
<mxGeometry height="20" width="240" x="40" y="60" as="geometry" />
</mxCell>
<mxCell id="zone-remote" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EAF1F5;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="230" width="160" x="30" y="30" as="geometry" />
<mxGeometry height="285" width="170" x="570" y="55" as="geometry" />
</mxCell>
<mxCell id="label-remote" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Remote" vertex="1">
<mxGeometry height="20" width="80" x="40" y="35" as="geometry" />
<mxCell id="label-remote" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Remote server" vertex="1">
<mxGeometry height="20" width="120" x="575" y="60" as="geometry" />
</mxCell>
<mxCell id="box-remote" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EDE9FE;strokeColor=#7C3AED;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#5B21B6;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Repository&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;full history&lt;/i&gt;" vertex="1">
<mxGeometry height="60" width="120" x="50" y="110" as="geometry" />
<mxCell id="box-worktree" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=1.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="&lt;font style=&quot;color: rgb(30, 64, 175);&quot;&gt;Working Tree&lt;/font&gt;&lt;div&gt;&lt;i style=&quot;font-size: 11px; font-weight: 400; color: rgb(95, 94, 90);&quot;&gt;&lt;font style=&quot;color: rgb(30, 64, 175);&quot;&gt;(main branch)&lt;/font&gt;&lt;/i&gt;&lt;/div&gt;" vertex="1">
<mxGeometry height="55" width="120" x="40" y="147" as="geometry" />
</mxCell>
<mxCell id="zone-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="230" width="300" x="280" y="30" as="geometry" />
<mxCell id="box-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=1.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#15803D;fontFamily=Helvetica;verticalAlign=top;align=center;arcSize=8;" value="Local Repo (.git)" vertex="1">
<mxGeometry height="230" width="240" x="240" y="90" as="geometry" />
</mxCell>
<mxCell id="box-branches" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Branches&lt;div&gt;&lt;i style=&quot;color: rgb(95, 94, 90); font-weight: 400;&quot;&gt;(main branch)&lt;/i&gt;&lt;/div&gt;" vertex="1">
<mxGeometry height="50" width="100" x="255" y="149" as="geometry" />
</mxCell>
<mxCell id="label-local" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Local (created by clone)" vertex="1">
<mxGeometry height="20" width="180" x="290" y="35" as="geometry" />
<mxCell id="box-tracking" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#888888;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#333333;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Remote-tracking&lt;div&gt;&lt;font color=&quot;#5f5e5a&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&lt;i&gt;(all branches)&lt;/i&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;" vertex="1">
<mxGeometry height="50" width="100" x="365" y="149" as="geometry" />
</mxCell>
<mxCell id="box-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#15803D;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Local Repo&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;full history copy&lt;/i&gt;" vertex="1">
<mxGeometry height="50" width="110" x="300" y="65" as="geometry" />
<mxCell id="box-origin" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=center;arcSize=10;" value=".git/config&lt;br&gt;origin → URL" vertex="1">
<mxGeometry height="50" width="100" x="255" y="210" as="geometry" />
</mxCell>
<mxCell id="box-origin" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FEF9C3;strokeColor=#CA8A04;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#854D0E;fontFamily=Courier New;verticalAlign=middle;align=center;arcSize=10;" value="origin → URL" vertex="1">
<mxGeometry height="50" width="110" x="440" y="65" as="geometry" />
<mxCell id="box-objects" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/objects&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;(full history)&lt;/i&gt;" vertex="1">
<mxGeometry height="50" width="100" x="365" y="210" as="geometry" />
</mxCell>
<mxCell id="box-tracking" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="origin/main&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;tracking branch&lt;/i&gt;" vertex="1">
<mxGeometry height="50" width="110" x="300" y="140" as="geometry" />
<mxCell id="box-remote" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EDE9FE;strokeColor=#7C3AED;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#5B21B6;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Remote&lt;br&gt;Repo" vertex="1">
<mxGeometry height="55" width="100" x="605" y="178" as="geometry" />
</mxCell>
<mxCell id="arr-clone" edge="1" parent="1" source="box-remote" style="endArrow=classic;html=1;strokeColor=#16A34A;strokeWidth=2;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;" target="box-local">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="box-worktree" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working Tree&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;checked out main&lt;/i&gt;" vertex="1">
<mxGeometry height="50" width="110" x="440" y="140" as="geometry" />
<mxCell id="label-clone" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#15803D;fontFamily=Courier New;" value="git clone" vertex="1">
<mxGeometry height="18" width="70" x="500" y="181" as="geometry" />
</mxCell>
<mxCell id="arr-clone" edge="1" parent="1" source="box-remote" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;edgeStyle=orthogonalEdgeStyle;" target="box-local">
<mxCell id="arr-checkout" edge="1" parent="1" source="box-branches" style="endArrow=classic;html=1;strokeColor=#2563EB;strokeWidth=2;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="box-worktree">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="label-clone" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;" value="git clone" vertex="1">
<mxGeometry height="18" width="80" x="200" y="65" as="geometry" />
<mxCell id="label-checkout" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=2;fontColor=#5F5E5A;fontFamily=Helvetica;" value="checkout main" vertex="1">
<mxGeometry height="18" width="100" x="150" y="149" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
Expand Down
52 changes: 52 additions & 0 deletions assets/drawio/git-remote-fetch.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<mxfile host="Electron">
<diagram id="remote-fetch" name="Fetch">
<mxGraphModel dx="1094" dy="969" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="780" pageHeight="380" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="310" width="760" x="10" y="10" as="geometry" />
</mxCell>
<mxCell id="label-title" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=14;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="git fetch" vertex="1">
<mxGeometry height="24" width="120" x="30" y="20" as="geometry" />
</mxCell>
<mxCell id="zone-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="245" width="460" x="30" y="55" as="geometry" />
</mxCell>
<mxCell id="label-local" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Local machine" vertex="1">
<mxGeometry height="20" width="120" x="40" y="60" as="geometry" />
</mxCell>
<mxCell id="zone-remote" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EAF1F5;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
<mxGeometry height="245" width="190" x="550" y="55" as="geometry" />
</mxCell>
<mxCell id="label-remote" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Remote server" vertex="1">
<mxGeometry height="20" width="120" x="560" y="60" as="geometry" />
</mxCell>
<mxCell id="box-worktree" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;opacity=30;" value="Working Tree&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;unchanged&lt;/i&gt;" vertex="1">
<mxGeometry height="55" width="110" x="50" y="155" as="geometry" />
</mxCell>
<mxCell id="box-local" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#15803D;fontFamily=Helvetica;verticalAlign=top;align=center;arcSize=8;" value="Local Repo (.git)" vertex="1">
<mxGeometry height="190" width="230" x="230" y="90" as="geometry" />
</mxCell>
<mxCell id="box-branches" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;opacity=30;" value="Branches&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;unchanged&lt;/i&gt;" vertex="1">
<mxGeometry height="55" width="95" x="245" y="130" as="geometry" />
</mxCell>
<mxCell id="box-tracking" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FEF9C3;strokeColor=#CA8A04;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#854D0E;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Remote-tracking&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;origin/main &amp;#x2190; updated&lt;/i&gt;" vertex="1">
<mxGeometry height="55" width="95" x="355" y="130" as="geometry" />
</mxCell>
<mxCell id="box-objects" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=1.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/objects&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;new commits downloaded&lt;/i&gt;" vertex="1">
<mxGeometry height="55" width="205" x="245" y="200" as="geometry" />
</mxCell>
<mxCell id="box-remote" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EDE9FE;strokeColor=#7C3AED;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#5B21B6;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Remote&lt;br&gt;Repo" vertex="1">
<mxGeometry height="55" width="100" x="595" y="130" as="geometry" />
</mxCell>
<mxCell id="arr-fetch" edge="1" parent="1" source="box-remote" style="endArrow=classic;html=1;strokeColor=#CA8A04;strokeWidth=2;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;" target="box-tracking">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="label-fetch" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#854D0E;fontFamily=Courier New;" value="git fetch" vertex="1">
<mxGeometry height="18" width="80" x="480" y="137" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Loading