From 732311e88a31a6bed417a0ee77045404fcf839e2 Mon Sep 17 00:00:00 2001
From: Anonymus Raccoon
Date: Wed, 8 Jan 2020 15:11:30 +0100
Subject: [PATCH] Create main.yml
---
.github/workflows/main.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 .github/workflows/main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..07b425f
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -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