git checkout develop

This commit is contained in:
s0dy 2018-11-17 14:26:18 +01:00
parent 5edf7af7fd
commit 6d2b9dfb20
2 changed files with 25 additions and 0 deletions

17
.gitlab-ci.yml Normal file
View 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

8
project/index.php Normal file
View File

@ -0,0 +1,8 @@
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Test deploy_to_webserver</p>'; ?>
</body>
</html>