diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 538e1ce..ebd1d62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,5 +17,11 @@ jobs: git config --global user.email "tristan.roux@epitech.eu" git config --global user.name "Tristan Roux" ssh-keyscan git.epitech.eu >> ~/.ssh/known_hosts - git remote add blih ssh://git@git.epitech.eu/tristan.roux@epitech.eu/MUL_my_runner_2019 - git push blih master:master + git clone git@git.epitech.eu:/tristan.roux@epitech.eu/MUL_my_runner_2019 /tmp/blihRepo + export REPOVAR=`pwd` + cd /tmp/blihRepo + find . -not -path "./.git*" -delete + cp -r $REPOVAR/* . + git add -A + git commit -m "Sync" + git push origin master