Skip to content

Commit d78ee4d

Browse files
authored
switch to reusable mirror action (#65)
* switch to reusable mirror action * Update mirror.yml * Update mirror.yml
1 parent 40c104b commit d78ee4d

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: mirror
2+
on: [push]
3+
24
permissions:
35
contents: read
46

5-
on: [push]
6-
77
jobs:
88
mirror:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
12-
with:
13-
fetch-depth: 0
14-
- uses: yesolutions/mirror-action@1708f16cdb28634fd3ba10c5c79abc91f5578a14 # v0.7.0
15-
with:
16-
REMOTE: "https://codeberg.org/FyraStack/odorobo.git"
17-
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
18-
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
9+
uses: FyraLabs/actions/.github/workflows/mirror.yml@main
10+
secrets:
11+
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
12+
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

0 commit comments

Comments
 (0)