Fix sync workflow (#53862)
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
name: Sync Staging Repo Files
|
name: Sync Staging Repo Files
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
@@ -50,7 +51,7 @@ jobs:
|
|||||||
for i in $(seq 0 $NUMBER_OF_REPOS); do
|
for i in $(seq 0 $NUMBER_OF_REPOS); do
|
||||||
repos+=("{\"repo\": \"github/docs-staging-$i\", \"index\": $i}")
|
repos+=("{\"repo\": \"github/docs-staging-$i\", \"index\": $i}")
|
||||||
done
|
done
|
||||||
json_repos=$(printf '%s\n' "${repos[@]}" | jq -s .)
|
json_repos=$(printf '%s\n' "${repos[@]}" | jq -s -c .)
|
||||||
echo "repos=$json_repos" >> $GITHUB_OUTPUT
|
echo "repos=$json_repos" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Set matrix output with repo and index
|
- name: Set matrix output with repo and index
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ For internal documentation, please see the Moda directory in the internal Docs E
|
|||||||
|
|
||||||
1. [Why staging servers?](#why-staging-servers)
|
1. [Why staging servers?](#why-staging-servers)
|
||||||
1. [What are staging servers?](#what-are-staging-servers)
|
1. [What are staging servers?](#what-are-staging-servers)
|
||||||
1. [How do staging deploys work from docs-internal?](#how-do-they-work)
|
1. [How do staging deploys work from docs-internal?](#how-do-staging-deploys-work-from-docs-internal)
|
||||||
|
1. [How do review server deploys work from docs-internal?](#how-do-review-server-deploys-work-from-docs-internal)
|
||||||
1. [Keeping build configurations in sync](#keeping-build-configurations-in-sync)
|
1. [Keeping build configurations in sync](#keeping-build-configurations-in-sync)
|
||||||
|
|
||||||
## Why staging servers?
|
## Why staging servers?
|
||||||
|
|||||||
Reference in New Issue
Block a user