Skip to content

Commit c2d1e56

Browse files
committed
자경단 미러 동기화 workflow 추가 (catguard-team/react-flask-ai-stack)
1 parent 04100b9 commit c2d1e56

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 자경단 미러 동기화
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
tags: ["**"]
7+
schedule:
8+
- cron: "0 */6 * * *"
9+
workflow_dispatch: {}
10+
11+
jobs:
12+
sync:
13+
name: 원본 → 자경단 미러
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
persist-credentials: false
20+
- name: push --mirror to catguard-team
21+
env:
22+
MIRROR: catguard-team/react-flask-ai-stack
23+
TOKEN: ${{ secrets.MIRROR_PAT }}
24+
run: |
25+
set -euo pipefail
26+
git remote add mirror "https://x-access-token:${TOKEN}@github.com/${MIRROR}.git"
27+
git push --mirror mirror

0 commit comments

Comments
 (0)