Skip to content

Commit b792794

Browse files
authored
ci: refactor REPO_NAME usage in docs formatting step
1 parent c718dfb commit b792794

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ jobs:
112112
luajit _docs/scripts/generate-api-docs.lua "_source/types" "$output_dir"
113113
114114
- name: Format docs
115-
run: npx --yes prettier@3.8.3 --write "_docs/docs/src/${REPO_NAME}/api/*.md" --no-error-on-unmatched-pattern
116-
env:
117-
REPO_NAME: ${{ matrix.repo.name }}
115+
run: npx --yes prettier@3.8.3 --write "_docs/docs/src/${{ matrix.repo.name }}/api/*.md" --no-error-on-unmatched-pattern
118116

119117
- name: Open docs PR
120118
uses: peter-evans/create-pull-request@v8

0 commit comments

Comments
 (0)