Commit 23838cea authored by Cedrick Copol's avatar Cedrick Copol

Update .gitlab-ci.yml

parent 371a3848
Pipeline #256 passed with stage
in 3 seconds
......@@ -33,3 +33,30 @@ deploy:
- trap - EXIT
tags:
- linux
# Documemtation
# https://docs.gitlab.com/ee/ci/yaml/#artifacts
fab-artifacts:
script:
- set -e
- sed -i '/^\$servername/d' signalements/writebdd.php
- sed -i '/^\$username/d' signalements/writebdd.php
- sed -i '/^\$password/d' signalements/writebdd.php
- sed -i '/^\$dbname/d' signalements/writebdd.php
- sed -i "s/\$username, \$password, \$dbname/$dbuser, $dbpass, $dbuser/" signalements/writebdd.php
- sed -i '/^\$username/d' signalements/get_results.php
- sed -i '/^\$password/d' signalements/get_results.php
- sed -i '/^\$dbname/d' signalements/get_results.php
- sed -i "s/\$username, \$password, \$dbname/$dbuser, $dbpass, $dbuser/" signalements/get_results.php
- trap - EXIT
artifacts:
paths:
- ./
only:
- fablab
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment