ci/docs: clean toods (#16982)
This commit is contained in:
parent
fb7cd28224
commit
95254ca587
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in New Issue