Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit c1746ce

Browse files
committed
Switch back again
1 parent 745fb3d commit c1746ce

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/detect_pull_request_preview.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ jobs:
99
run: pip install requests
1010
- name: Detect deployment
1111
run:
12-
./tools/ci/pr_preview.py
13-
--host http://api.github.com
14-
--github-project web-platform-tests/wpt-actions-test
15-
detect
16-
--target http://s92097608.onlinehome.us/tmp
17-
--timeout 600
12+
./tools/ci/debug_deploy.py
1813
env:
1914
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}

tools/ci/debug_deploy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ def gh_request(method_name, url, body=None, accept=None):
4747
gh_request(
4848
'POST',
4949
'{}/deployments/{}/statuses'.format(url_base, data['deployment']['id']),
50-
{'state': 'pending', 'description': 'foo', 'environment_url': 'http://example.com'},
50+
{
51+
'state': 'pending',
52+
'description': 'Waiting up to %d seconds for deployment %s to be available on %s',
53+
'environment_url': 'http://s92097608.onlinehome.us/tmp/submissions/gh-17'
54+
},
5155
'application/vnd.github.ant-man-preview+json'
5256
)
5357

0 commit comments

Comments
 (0)