Skip to content

Commit f4603e9

Browse files
author
Muharrem Tigdemir
committed
Replace gist with code snippet
1 parent bb26720 commit f4603e9

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

README.md

+25-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,28 @@ https://medium.com/@mtigdemir/php-deployment-with-deployer-to-aws-via-bitbucket-
1212
- PHP 7.1 (`mtigdemir\php-deployer-pipeline:7.1`)
1313
- PHP 7.3 (`mtigdemir\php-deployer-pipeline:7.3.25`)
1414

15-
{% gist 1bb599d7fa5caad3ab647aad87fadc18 %}
16-
17-
18-
Please note that, only PHP 7.1 tag uses Composer v1 and all the builds after that compatible with Composer v2
15+
```
16+
image: mtigdemir/php-deployer-pipeline:{version}
17+
18+
pipelines:
19+
branches:
20+
master:
21+
- step:
22+
caches:
23+
- composer
24+
script:
25+
- composer install
26+
- vendor/bin/phpunit
27+
- dep deploy -vvv test
28+
29+
production:
30+
- step:
31+
caches:
32+
- composer
33+
script:
34+
- composer install --no-dev
35+
- dep deploy production
36+
```
37+
38+
39+
**Please note that, only PHP 7.1 tag uses Composer v1 and all the builds after that compatible with Composer v2**

0 commit comments

Comments
 (0)