We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 907d686 + 2d36320 commit 57a3411Copy full SHA for 57a3411
.github/workflows/sync-openapi-spec-to-docs.yml
@@ -7,7 +7,7 @@ on:
7
push:
8
branches: [main]
9
paths:
10
- - 'openapi.yaml'
+ - "openapi.yaml"
11
12
jobs:
13
sync:
@@ -23,7 +23,7 @@ jobs:
23
echo "${{ secrets.DOCS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
24
chmod 600 ~/.ssh/id_ed25519
25
ssh-keyscan github.com >> ~/.ssh/known_hosts
26
-
+
27
- name: Install GitHub CLI
28
run: sudo apt-get install -y gh
29
@@ -34,7 +34,7 @@ jobs:
34
35
- name: Commit and push update
36
env:
37
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_TOKEN: ${{ secrets.DOCS_REPO_PAT }}
38
run: |
39
cd mintlify-docs
40
git config user.name "github-actions[bot]"
@@ -56,4 +56,5 @@ jobs:
56
--title "Sync OpenAPI spec" \
57
--body "This PR syncs openapi.yaml from openapi repo." \
58
--base main \
59
- --head "$BRANCH_NAME"
+ --head "$BRANCH_NAME"
60
0 commit comments