Skip to content

Commit 9443e1f

Browse files
authored
skip after CI if files don't exist (#818)
1 parent 5213edd commit 9443e1f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/set_docs_preview_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
})
4141
}
4242
r = httpx.post(deployment_url, headers=gh_headers, json=deployment_data)
43-
print(f'POST {deployment_url}: {r.status_code} {r.text}')
43+
print(f'POST {deployment_url}: {r.status_code}') # {r.text}
4444
r.raise_for_status()
4545
deployment_id = r.json()['id']
4646

@@ -51,5 +51,5 @@
5151
'state': 'success',
5252
}
5353
r = httpx.post(status_url, headers=gh_headers, json=status_data)
54-
print(f'POST {status_url}: {r.status_code} {r.text}')
54+
print(f'POST {status_url}: {r.status_code}') # {r.text}
5555
r.raise_for_status()

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Store docs
8484
uses: actions/upload-artifact@v4
8585
with:
86-
name: docs-site
86+
name: site
8787
path: site
8888

8989
test-live:
@@ -238,13 +238,14 @@ jobs:
238238

239239
steps:
240240
- uses: actions/checkout@v4
241+
241242
- uses: actions/setup-node@v4
242243
- run: npm install
243244
working-directory: docs-site
244245

245246
- uses: actions/download-artifact@v4
246247
with:
247-
name: docs-site
248+
name: site
248249
path: site
249250

250251
- uses: cloudflare/wrangler-action@v3

0 commit comments

Comments
 (0)