GIT DEPLOYMENT SCRIPT
$ pwd
/home/c/ci36713/tecestore.ru/public_html
$ git config --global user.email "git@tecestore.ru"
$ git config --global user.name "git.tecestore.ru"
$ git config --global --list
user.email=git@tecestore.ru
user.name=git.tecestore.ru
$ git config core.filemode false
$ whoami
user.name=git.tecestore.ru
ci36713
$ git status
On branch master
Your branch is ahead of 'origin/master' by 13 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: bitrix/templates/aspro_next/components/bitrix/catalog.element/main/template.php
modified: catalog/index.php
Untracked files:
(use "git add <file>..." to include in what will be committed)
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-159244-05-04-2024_13-02.html
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-715322-05-04-2024_13-40.html
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-92464-05-04-2024_13-18.html
ai-bolit/
no changes added to commit (use "git add" and/or "git commit -a")
$ git add --all
$ git commit -m "Changes on production"
Your branch is ahead of 'origin/master' by 13 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: bitrix/templates/aspro_next/components/bitrix/catalog.element/main/template.php
modified: catalog/index.php
Untracked files:
(use "git add <file>..." to include in what will be committed)
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-159244-05-04-2024_13-02.html
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-715322-05-04-2024_13-40.html
AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-92464-05-04-2024_13-18.html
ai-bolit/
no changes added to commit (use "git add" and/or "git commit -a")
[master 59df97d] Changes on production
8 files changed, 8139 insertions(+), 12 deletions(-)
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-159244-05-04-2024_13-02.html
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-715322-05-04-2024_13-40.html
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-92464-05-04-2024_13-18.html
create mode 100644 ai-bolit/1-AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_ai-bolit-936705-05-04-2024_12-33.html
create mode 100644 ai-bolit/AIBOLIT-WHITELIST.db
create mode 100644 ai-bolit/ai-bolit.php
$ git pull origin master
8 files changed, 8139 insertions(+), 12 deletions(-)
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-159244-05-04-2024_13-02.html
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-715322-05-04-2024_13-40.html
create mode 100644 AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_-92464-05-04-2024_13-18.html
create mode 100644 ai-bolit/1-AI-BOLIT-REPORT-_c_ci36713_tecestore_ru_public_html_ai-bolit-936705-05-04-2024_12-33.html
create mode 100644 ai-bolit/AIBOLIT-WHITELIST.db
create mode 100644 ai-bolit/ai-bolit.php
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:46OSHA1Rmj8E8ERTC6xkNcmGOw9oFxYr0WF6zWW8l1E.
Please contact your system administrator.
Add correct host key in /home/c/ci36713/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/c/ci36713/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/home/c/ci36713/.ssh/known_hosts" -R "bitbucket.org"
RSA host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git checkout --theirs .
$ git commit -am "Remote Conflict"
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:46OSHA1Rmj8E8ERTC6xkNcmGOw9oFxYr0WF6zWW8l1E.
Please contact your system administrator.
Add correct host key in /home/c/ci36713/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/c/ci36713/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/home/c/ci36713/.ssh/known_hosts" -R "bitbucket.org"
RSA host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
On branch master
Your branch is ahead of 'origin/master' by 14 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
$ git push origin master
Your branch is ahead of 'origin/master' by 14 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:46OSHA1Rmj8E8ERTC6xkNcmGOw9oFxYr0WF6zWW8l1E.
Please contact your system administrator.
Add correct host key in /home/c/ci36713/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/c/ci36713/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/home/c/ci36713/.ssh/known_hosts" -R "bitbucket.org"
RSA host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git submodule sync
$ git submodule update
$ git submodule status
$ touch execafterdeploy.php
$ cat execafterdeploy.php
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:46OSHA1Rmj8E8ERTC6xkNcmGOw9oFxYr0WF6zWW8l1E.
Please contact your system administrator.
Add correct host key in /home/c/ci36713/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/c/ci36713/.ssh/known_hosts:2
remove with:
ssh-keygen -f "/home/c/ci36713/.ssh/known_hosts" -R "bitbucket.org"
RSA host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.