Skip to content

Commit 56132d9

Browse files
authored
CI: fix typo in workflow & trigger (#15465)
* fix typo in workflow * pr trigger
1 parent 2fccd1e commit 56132d9

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/docs-checks.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@ name: Check Docs
33

44
on:
55
push:
6-
branches: [master, "release/*"]
6+
branches: ["master", "release/*"]
77
pull_request:
8-
branches: [master, "release/*"]
8+
branches: ["master", "release/*"]
9+
paths:
10+
- ".actions/**"
11+
- "requirements/**"
12+
- "src/**"
13+
- "setup.py"
14+
- "setup.cfg"
15+
- ".github/workflows/docs-checks.yml"
916

1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}

.github/workflows/docs-deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: "Deploy Docs"
22
on:
33
push:
44
branches: ["master", "release/stable"]
5+
pull_request:
6+
branches: ["master", "release/*"]
7+
paths:
8+
- ".github/workflows/docs-deploy.yml"
59

610
env:
711
FREEZE_REQUIREMENTS: 1
@@ -74,7 +78,7 @@ jobs:
7478

7579
# Uploading docs to GCS, so they can be served on lightning.ai
7680
- name: Upload docs/stable to GCS 🪣
77-
if: ${{ success() && startsWith(github.ref, 'refs/heads/release/')) }}
81+
if: ${{ success() && startsWith(github.ref, 'refs/heads/release/') }}
7882
run: |-
7983
gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-stable
8084
@@ -83,3 +87,8 @@ jobs:
8387
if: ${{ success() && github.ref == 'refs/heads/master' }}
8488
run: |-
8589
gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-latest
90+
91+
# fixme
92+
- name: Upload docs/latest to GCS 🪣
93+
run: |-
94+
gsutil -m rsync -d -R docs/build/html/ gs://lightning-docs-latest

0 commit comments

Comments
 (0)