mirror of
https://github.com/zoriya/Twac.git
synced 2026-06-04 02:55:59 +00:00
Create main.yml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user