We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59cd463 commit 786a732Copy full SHA for 786a732
2 files changed
.github/workflows/update-open-api.yml
@@ -10,7 +10,7 @@ on:
10
run-name: Update OpenAPI specs (${{ inputs.uuid}})
11
12
jobs:
13
- update-openapi-api:
+ update-open-api:
14
runs-on: ubuntu-latest
15
steps:
16
- name: checkout repo
@@ -20,7 +20,15 @@ jobs:
20
run: npm i -g @redocly/cli@latest
21
22
- name: run Redocly
23
- run: ./modules/ROOT/generate-docs.sh
+ env:
24
+ GH_TOKEN: ${{ github.token }}
25
+ run: |
26
+ USER=$(gh api user -q .login)
27
+ TOKEN=$(gh auth token)
28
+
29
+ echo "https://${USER}:${TOKEN}@github.com" > ~/.git-credentials
30
31
+ ./modules/ROOT/generate-docs.sh
32
33
- name: diff and raise PR
34
env:
modules/ROOT/generate-docs.sh
@@ -1,4 +1,4 @@
1
-#!/bin/sh
+#!/bin/bash
2
3
set -exuo pipefail
4
0 commit comments