From 95254ca5872cf6d01d105ef238951fc071c4c79f Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:39:52 +0100 Subject: [PATCH] ci/docs: clean toods (#16982) --- .github/workflows/docs-build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index bd2ad4da31..07a023c0b9 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -165,19 +165,16 @@ jobs: project_id: ${{ secrets.GCS_PROJECT }} # Uploading docs to GCS, so they can be served on lightning.ai - - name: Upload docs/stable to GCS 🪣 + - name: Upload docs/${{ matrix.pkg-name }}/stable to GCS 🪣 if: startsWith(github.ref, 'refs/heads/release/') - # todo: consider nuke the bucket content before upload run: gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-${{ matrix.pkg-name }}/stable # Uploading docs to GCS, so they can be served on lightning.ai - - name: Upload docs/latest to GCS 🪣 + - name: Upload docs/${{ matrix.pkg-name }}/latest to GCS 🪣 if: github.ref == 'refs/heads/master' - # todo: consider nuke the bucket content before upload run: gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-${{ matrix.pkg-name }}/latest # Uploading docs to GCS, so they can be served on lightning.ai - - name: Upload docs/latest to GCS 🪣 + - name: Upload docs/${{ matrix.pkg-name }}/release to GCS 🪣 if: startsWith(github.ref, 'refs/tags/') - # todo: consider nuke the bucket content before upload run: gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-${{ matrix.pkg-name }}/${{ github.ref_name }}"