Skip to content

Commit 5213edd

Browse files
committed
fix after-ci preview, set required_contexts=[]
1 parent bccbabb commit 5213edd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/set_docs_preview_url.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
import os
23
import re
34

@@ -31,6 +32,12 @@
3132
'task': 'docs preview',
3233
'environment': ENVIRONMENT,
3334
'auto_merge': False,
35+
'required_contexts': [],
36+
'payload': json.dumps({
37+
'preview_url': preview_url,
38+
'worker_name': worker_name,
39+
'version_id': version_id,
40+
})
3441
}
3542
r = httpx.post(deployment_url, headers=gh_headers, json=deployment_data)
3643
print(f'POST {deployment_url}: {r.status_code} {r.text}')

0 commit comments

Comments
 (0)