ci/docs: clean toods (#16982)

This commit is contained in:
Jirka Borovec 2023-03-07 16:39:52 +01:00 committed by GitHub
parent fb7cd28224
commit 95254ca587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -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 }}"