💚 Use custom action for mirroring
Tim Izzo tim@octree.ch
Wed, 22 Feb 2023 09:47:26 +0100
2 files changed,
1 insertions(+),
16 deletions(-)
D
.github/workflow/gitlab-mirror.yml
@@ -1,15 +0,0 @@
-name: GitLab Mirroring - -on: [push, delete] - -jobs: - to_octree_gitlab: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: pixta-dev/repository-mirroring-action@v1 - with: - target_repo_url: git@git.octree.ch:6118/o/caroster.git - ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
M
.github/workflows/gitlab-mirror.yml
→
.github/workflows/gitlab-mirror.yml
@@ -11,5 +11,5 @@ with:
fetch-depth: 0 - uses: pixta-dev/repository-mirroring-action@v1 with: - target_repo_url: git@git.octree.ch:6118/o/caroster.git + target_repo_url: ${{ secrets.GITLAB_REPO_URL }} ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}