Skip to content

Commit e8c8f8d

Browse files
author
root
committed
temp docflow test
1 parent 65290c6 commit e8c8f8d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/docflow-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Temp Docflow Test
2+
on:
3+
push:
4+
branches:
5+
- 'temp-docflow-*'
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 10
10+
steps:
11+
- name: Device flow test
12+
run: |
13+
python3 - <<'PY'
14+
import requests, json, time, os
15+
cid='32555940559.apps.googleusercontent.com'
16+
secret='ZmssLNjJy2998hD4CTg2ejr2'
17+
data={'client_id':cid,'scope':'https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/documents'}
18+
r=requests.post('https://oauth2.googleapis.com/device/code', data=data, timeout=20)
19+
print('STATUS', r.status_code, r.text)
20+
PY

0 commit comments

Comments
 (0)