Skip to content

Commit 68770a0

Browse files
committed
ci: Update git_mirror workflow [ci skip]
1 parent 8d3bcbb commit 68770a0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/git_mirror.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ permissions: {}
55
on:
66
push:
77
branches: [main]
8+
workflow_dispatch:
89

910
jobs:
1011
mirror:
12+
name: Mirror to Codeberg and GitLab
1113
permissions:
1214
contents: read
1315
runs-on: ubuntu-latest
1416
steps:
15-
- uses: ffflorian/actions/git-mirror@86a6f4fba506628f07585dcd4010e05f2396c25a
17+
- uses: ffflorian/actions/git-mirror@abeafb743ac9afb2adefc0fc15b207029d1bc633
1618
with:
17-
GITLAB_REMOTE: 'git@gitlab.com:ffflorian/node-packages.git'
19+
GITLAB_REMOTE: 'git@gitlab.com:${{ github.repository }}.git'
1820
GITLAB_SECRET: ${{ secrets.GITLAB_SECRET }}
1921
GITLAB_PUSH_ALL_REFS: 'false'
20-
CODEBERG_REMOTE: 'git@codeberg.org:ffflorian/node-packages.git'
22+
CODEBERG_REMOTE: 'git@codeberg.org:${{ github.repository }}.git'
2123
CODEBERG_SECRET: ${{ secrets.CODEBERG_SECRET }}
2224
CODEBERG_PUSH_ALL_REFS: 'false'

0 commit comments

Comments
 (0)