Create main.yml

This commit is contained in:
Anonymus Raccoon
2020-01-08 15:11:30 +01:00
committed by GitHub
parent 1771349f34
commit 732311e88a
+21
View File
@@ -0,0 +1,21 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run a one-line script
run: |
mkdir -p .ssh
echo -ne $SSH_PRIVATE_KEY >> ~/.ssh/blih
echo -ne "Host git.epitech.eu\n\tHostname git.epitech.eu\n\tUser git\n\tIdentityFile $(readlink -f ~/.ssh/blih)\n"
ssh-keyscan git.epitech.eu >> ~/.ssh/known_hosts
git remote add blih ssh://git@git.epitech.eu/tristan.roux@epitech.eu/MUL_my_runnner_2019.git
git add -A -f .
git commit -m "Sync"
git push blih master