mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-23 19:32:15 +00:00
git checkout develop
This commit is contained in:
parent
5edf7af7fd
commit
6d2b9dfb20
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
|
||||
|
8
project/index.php
Normal file
8
project/index.php
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>PHP Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php echo '<p>Test deploy_to_webserver</p>'; ?>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user