wip: add mirror action

This commit is contained in:
Nate Moore 2022-09-29 23:33:11 -05:00
parent f9477aade1
commit 6d5d944125

23
.github/workflows/mirror.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: "Mirror"
on:
push:
branches:
- main
paths:
- "examples/**"
jobs:
stat:
if: github.repository_owner == 'natemoo-re'
runs-on: ubuntu-latest
steps:
- name: Check out code using Git
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Mirror
run: |
git filter-repo --path examples/minimal
git remote set-url origin https://github.com/withastro/astro-template-minimal.git