mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-12 18:19:30 +00:00
git checkout develop
This commit is contained in:
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
||||
image: geerlingguy/docker-debian9-ansible:latest
|
||||
|
||||
before_script:
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
|
||||
deploy_to_webserver:
|
||||
stage: deploy
|
||||
|
||||
only:
|
||||
- develop
|
||||
|
||||
script:
|
||||
- ansible-playbook .ansible-ci.yml
|
||||
|
||||
when: manual
|
||||
|
Reference in New Issue
Block a user