Skip to content

Instantly share code, notes, and snippets.

@janmanfai
janmanfai / .gitlab-ci.yml
Created August 3, 2020 22:29
GitLab CI SSH Deployment
# Setup the following variables inside CI / CD Settings
# SSH_USER - user that will should connect to the server via ssh; user@domain.tld
# SSH_PRIVATE_KEY - RSA private key that should be used
# SSH_PROJECT_PATH - path to the folder to be copied
stages:
- deploy
deploy to dev:
image: ubuntu