2

I want to use PHPCI to build and deploy my Symfony project. So far I've been successful in the build part.

My problem now is copying and deploying the files so that it can be seen by the webserver.

I've used the copy_build plugin, but it copies the whole build folder and not just the contents.

So my deployment folder becomes like this

/var/www/project-root/[build-number]/[codes]

instead of just

/var/www/project-root/[codes]

My phpci.yml looks like this

success:
copy_build:
    directory: '/var/www/project-root'
    wipe: true;

1 Answer 1

1

You could use the shell plugin to copy the build to the deployment folder.

The documentation can found at https://www.phptesting.org/wiki/Shell-Plugin

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.