This commit is contained in:
parent
12a282c82d
commit
9df2ecd29e
|
@ -10,7 +10,7 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' | ssh-add -
|
||||||
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- run: |
|
- run: |
|
||||||
git config --global user.email ci@gitnet.fr
|
git config --global user.email ci@gitnet.fr
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
git status
|
git status
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Build ${CI_BUILD_NUMBER}" || true
|
git commit -m "Build ${{ gitea.job }}" || true
|
||||||
git remote add repo git@gitnet.fr:deblan/.profile.git
|
git remote add repo git@gitnet.fr:deblan/.profile.git
|
||||||
git push repo main || true
|
#git push repo main || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue