Skip to content

Commit 69b8671

Browse files
committed
fix: mirror
1 parent 65d400a commit 69b8671

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Sync repo to the CODEBERG mirror
21
name: Repo sync (GitHub -> CODEBERG)
2+
33
on:
44
push:
55
branches:
@@ -11,18 +11,22 @@ on:
1111
jobs:
1212
sync-repo-to-codeberg:
1313
runs-on: ubuntu-latest
14+
1415
steps:
15-
- name: "Checkout"
16+
- name: Checkout
1617
uses: actions/checkout@v2
1718
with:
1819
fetch-depth: 0
19-
- name: "Gather facts"
20+
21+
- name: Gather facts
2022
run: |
2123
echo "Repo variables:"
2224
echo " CODEBERG_URL: ${{ vars.CODEBERG_BASE_URL }}${{ vars.CODEBERG_REPO }}.git"
2325
echo " CODEBERG_USERNAME: ${{ vars.CODEBERG_USERNAME }}"
24-
- uses: yesolutions/mirror-action@master
25-
with:
26-
REMOTE: ${{ vars.CODEBERG_BASE_URL }}${{ vars.CODEBERG_REPO }}.git
27-
GIT_USERNAME: ${{ vars.CODEBERG_USERNAME }}
28-
GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}
26+
27+
- name: Mirror to Codeberg
28+
uses: yesolutions/mirror-action@master
29+
with:
30+
REMOTE: ${{ vars.CODEBERG_BASE_URL }}${{ vars.CODEBERG_REPO }}.git
31+
GIT_USERNAME: ${{ vars.CODEBERG_USERNAME }}
32+
GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}

0 commit comments

Comments
 (0)