before_script: - apt-get update -qq - apt-get install -qq git - 'which ssh-agent || ( apt-get install -qq openssh-client )' - eval $(ssh-agent -s) - ssh-add <(echo "$SSH_PRIVATE_KEY_BASE64" | base64 -d) - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' deploy_production: type: deploy environment: name: staging url: server1.bayadic.com script: - ssh deployer@server1.bayadic.com "cd /var/www/html/bayadic-status/wstester && git checkout . && git checkout master && git pull origin master && exit" only: - master
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.git | Folder | 0755 |
|
|
.vscode | Folder | 0755 |
|
|
public_html | Folder | 0755 |
|
|
.DS_Store | File | 6 KB | 0644 |
|
.gitlab-ci.yml | File | 612 B | 0644 |
|
Gruntfile.js | File | 286 B | 0644 |
|
bower.json | File | 203 B | 0644 |
|
gulpfile.js | File | 300 B | 0644 |
|
note.md | File | 199 B | 0644 |
|
package-lock.json | File | 81 B | 0644 |
|
package.json | File | 243 B | 0644 |
|
readme | File | 24 B | 0644 |
|