Skip to content

Update gitlab-mirror.yml #29

Update gitlab-mirror.yml

Update gitlab-mirror.yml #29

Workflow file for this run

name: Mirror to GitLab
on:
push:
branches:
- main
- master
delete:
branches:
- main
- master
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ""
git_user_signingkey: true
git_commit_gpgsign: true
git_user_email: ${{ secrets.GPG_USER_EMAIL }}
git_committer_email: ${{ secrets.GPG_USER_EMAIL }}
trust_level: ultimate
git_config_global: true
- name: Mirror to GitLab
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: git@gitlab.com:alphabetanetcom/secure-python-code-manager.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
commit_message: Mirror from GitHub.