feat: add Qi system example #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gitlab Mirror | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
autopush: | |
name: Automatic Push to gitlab.dev.info.uvt.ro | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Main Script | |
run: | | |
mkdir ~/.ssh | |
echo -e 'Host gitlab.dev.info.uvt.ro\n\tStrictHostKeyChecking no\n' >> ~/.ssh/config | |
eval $(ssh-agent) | |
echo "${GITLAB_DEV_INFO_AUTOPUSH_KEY}" | ssh-add - | |
git fetch --unshallow | |
git push "git@gitlab.dev.info.uvt.ro:alexandru.fikl/$(basename $GITHUB_REPOSITORY).git" main | |
env: | |
GITLAB_DEV_INFO_AUTOPUSH_KEY: ${{ secrets.GITLAB_DEV_INFO_AUTOPUSH_KEY }} | |
# vim: set ts=2 sw=2 et: |