404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.223.43.31: ~ $
before_script:
  - apt-get update -qq
  - apt-get install -qq git
  # Setup SSH deploy keys
  - 'which ssh-agent || ( apt-get install -qq openssh-client )'
  - eval $(ssh-agent -s)
  #You need to add the public key to the server so it would be recognized as an authentication key. This is, paste the content of the public key corresponding to the private key you are using to the ~/.ssh/authorized_keys on the $PRODUCTION_SERVER.
  - ssh-add <(echo "$SSH_DEPLOYER_PRIVATE_KEY_BASE64" | base64 -d)
  - mkdir -p ~/.ssh
  - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
deploy_development:
  type: deploy
  environment:
    name: development
    url: server1.bayadic.com
  script:
    - ssh deployer@server1.bayadic.com "cd /var/wwww-sftp/botdev/bayadicbot/translatorApi && git clean -d -f && git checkout . && git checkout feature/DEVELOPMENT && git pull origin feature/DEVELOPMENT && systemctl restart hybridtranslatorservice && exit"
  only:
    - feature/DEVELOPMENT
deploy_production:
  type: deploy
  environment:
    name: staging
    url: server1.bayadic.com
  script:
    - ssh deployer@server1.bayadic.com "cd /var/www/html/bot/bayadicbot/translatorApi && git checkout main && git pull origin main && systemctl restart hybridtranslatorservice && exit"
  only:
    - main


  # to run the it properly
  # the parent must be root and the permision is 755 while the children are 777
  # to give acces to deployer for using git
  # chmod -R g+swX bayadicbot/

Filemanager

Name Type Size Permission Actions
.vscode Folder 2755
build Folder 2755
node_modules Folder 2755
src Folder 2755
.git File 38 B 0644
.gitignore File 18 B 0644
.gitlab-ci.yml File 1.47 KB 0644
README.md File 7.48 KB 0644
cookie-de-fa.txt File 5.88 KB 0644
google-trans-cookie-de-fa.json File 5.88 KB 0644
google-trans-cookie.json File 5.39 KB 0644
package-lock.json File 195.84 KB 0644
package.json File 1.62 KB 0644
start.sh File 85 B 0755
tsconfig.json File 6.55 KB 0644
what.jpg File 73 KB 0644