Skip to content

Commit 33cca24

Browse files
authored
Update gen_docs.yml
1 parent a474f57 commit 33cca24

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/gen_docs.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,17 @@ jobs:
2222
REPO_GH_PAT=${{secrets.REPO_GH_PAT}}
2323
GITHUB_REPOSITORY="${{ github.repository }}"
2424
GITHUB_ACTOR="${{ github.actor }}"
25-
curl -X POST -H "Content-Type: application/json" \
26-
-H "X-API-KEY: $API_KEY" \
27-
-d '{"apiKey": "'$API_KEY'", "repo_gh_pat": "'$REPO_GH_PAT'", "githubRepository": "'$GITHUB_REPOSITORY'", "default_time": 50}' \
28-
"${{ secrets.GENERATE_ENDPOINT_URL }}"
25+
# curl -X POST -H "Content-Type: application/json" \
26+
# -H "X-API-KEY: $API_KEY" \
27+
# -d '{"apiKey": "'$API_KEY'", "repo_gh_pat": "'$REPO_GH_PAT'", "githubRepository": "'$GITHUB_REPOSITORY'", "default_time": 50}' \
28+
# "${{ secrets.GENERATE_ENDPOINT_URL }}"
29+
curl --location "${{ secrets.GENERATE_ENDPOINT_URL }}" \
30+
--header 'Content-Type: application/json' \
31+
--data '{
32+
"githubRepository": "'$GITHUB_REPOSITORY'",
33+
"apiKey": "'$API_KEY'",
34+
"default_time": 50,
35+
"repo_gh_pat": "'$REPO_GH_PAT'"
36+
}'
2937
env:
3038
API_KEY: ${{ secrets.API_KEY }}

0 commit comments

Comments
 (0)