Skip to content

Commit

Permalink
Merge pull request github#35902 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jan 11, 2025
2 parents 5f80f16 + efe146e commit 45cfbe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/sync-staging-repo-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
name: Sync Staging Repo Files

on:
workflow_dispatch:
push:
branches: [main]
paths:
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
for i in $(seq 0 $NUMBER_OF_REPOS); do
repos+=("{\"repo\": \"github/docs-staging-$i\", \"index\": $i}")
done
json_repos=$(printf '%s\n' "${repos[@]}" | jq -s .)
json_repos=$(printf '%s\n' "${repos[@]}" | jq -s -c .)
echo "repos=$json_repos" >> $GITHUB_OUTPUT
- name: Set matrix output with repo and index
Expand Down
3 changes: 2 additions & 1 deletion src/deployments/staging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. [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)

## Why staging servers?
Expand Down

0 comments on commit 45cfbe6

Please sign in to comment.