Skip to content

Commit 73a474d

Browse files
author
Nemanja Komadina
authored
Merge pull request #840 from Adobe-Enterprise-Docs/UGP-15076
feat: (UGP-15076): Onboarding of mirroring
2 parents 2205029 + a4cdbbf commit 73a474d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Mirror
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
mirror-to-public:
10+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
11+
# TODO(maintainer): If your org uses a different reusable workflow repo, replace Adobe-Enterprise-Docs/workflows.
12+
# TODO(maintainer): Pin to a commit SHA for stronger supply-chain security instead of @main.
13+
uses: Adobe-Enterprise-Docs/workflows/.github/workflows/mirror-to-public.yml@main
14+
# TODO(maintainer): Ensure org-level GitHub App secrets are available (ADOBEDOCS_MIRRORING_APP_ID and ADOBEDOCS_MIRRORING_APP_PRIVATE_KEY).
15+
secrets: inherit
16+
# TODO(maintainer): If public target differs from AdobeDocs/<this-repo-name>, pass:
17+
# with:
18+
# mirror-target-repository: <owner>/<repo>

0 commit comments

Comments
 (0)