Skip to content

Commit

Permalink
enable mirroring to gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvanandel committed Dec 11, 2023
1 parent c00f700 commit 40c3aa4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Mirroring

on: [push, delete]

jobs:
to_gitea:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/[email protected]
with:
REMOTE: 'ssh://[email protected]:443/dst/dst-lock-unlock-testdata-mirror.git'
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
# disable known_hosts until PR is merged: https://github.com/yesolutions/mirror-action/pull/19
GIT_SSH_NO_VERIFY_HOST: "true"
# GIT_SSH_KNOWN_HOSTS: ${{ secrets.GIT_SSH_KNOWN_HOSTS }}

0 comments on commit 40c3aa4

Please sign in to comment.