Skip to content

Commit 5edec9a

Browse files
authored
Create mirror.yml
Initial mirror attempt
1 parent c9e44ef commit 5edec9a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Mirror to website-prod
2+
3+
on: [push, delete]
4+
5+
jobs:
6+
to_gitlab:
7+
# Only run this from website to website-prod
8+
if: github.repository == 'kidsoncomputers/website'
9+
runs-on: ubuntu-latest
10+
steps: # <-- must use actions/checkout before mirroring!
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- uses: pixta-dev/repository-mirroring-action@v1
15+
with:
16+
target_repo_url:
17+
https://github.com/kidsoncomputers/website-prod.git

0 commit comments

Comments
 (0)