Skip to content

Commit

Permalink
Remove over-restrictive LTD upload condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzm committed Nov 11, 2023
1 parent 8b2e98e commit 3a70252
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,20 +214,14 @@ jobs:
QSERV_GH_HEAD_REF: ${{ github.head_ref }}
QSERV_GH_REF: ${{ github.ref }}

# Only attempt documentation uploads for tagged releases and pull
# requests from ticket branches in the same repository. This avoids
# version clutter in the docs and failures when a PR doesn't have access
# to secrets.
- name: Upload to LSST the Docs
if: needs.update-base-images.outputs.build-rebuilt == 'True' || steps.filter.outputs.docs == 'true'
uses: lsst-sqre/ltd-upload@v1
with:
project: "qserv"
project: "Qserv"
dir: "build/doc/html"
username: ${{ secrets.LTD_USERNAME }}
password: ${{ secrets.LTD_PASSWORD }}
if: >
(github.event_name != 'pull_request' || startsWith(github.head_ref, 'tickets/'))
&& (needs.update-base-images.outputs.build-rebuilt == 'True' || steps.filter.outputs.docs == 'true')

update-run-image:
name: Update Qserv image
Expand Down

0 comments on commit 3a70252

Please sign in to comment.