wip: add mirror action
This commit is contained in:
parent
f9477aade1
commit
6d5d944125
1 changed files with 23 additions and 0 deletions
23
.github/workflows/mirror.yml
vendored
Normal file
23
.github/workflows/mirror.yml
vendored
Normal 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
|
Loading…
Reference in a new issue