Unverified Commit 3ad47e03 authored by Jana Schor's avatar Jana Schor Committed by GitHub
Browse files

Merge pull request #6 from lehmann-ju/synchro_gitlab

Create push-to-gitlab.yml
parents bf3aa5a5 39337477
name: Push changes to Gitlab
on: [ push ]
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
sudo apt-get update && sudo apt-get install -y build-essential\
git
sudo apt-get clean
- name: Push to GitLab
env:
ACCESS_TOKEN: ${{secrets.GITLAB_ACCESS_TOKEN}}
run: |
git clone -b master https://gitlab.hzdr.de/Normo/deepFPlearn.git/
cd deepFPlearn
git config --global user.name $GITHUB_ACTOR
git remote add github https://github.com/yigbt/deepFPlearn.git
git pull github master
git push https://Normo:$ACCESS_TOKEN@gitlab.hzdr.de/Normo/deepFPlearn.git/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment