PHPloy icon indicating copy to clipboard operation
PHPloy copied to clipboard

Multiple configurations not working

Open Mavv3006 opened this issue 8 months ago • 3 comments

I am testing out this project and came accross some issues:

  1. the option logger does not create a phploy.log file
  2. the option base is ignored and the whole current working directory (not the specified relative path) is deployed
  3. the option exclude[] is ignored
  4. the option include[] is ignored

Here is my phploy.ini file:

[hassio]
    scheme = ftp
    user = ...
    pass = ...
    host = ...
    port = ...
    path = "/phploy"
    branch = main
    base = "src/"
    logger = on
    exclude[] = ".gitignore"
    exclude[] = "src/*.scss"
    exclude[] = "composer*"
    include[] = "vendor/"

Mavv3006 avatar Apr 16 '25 15:04 Mavv3006

I'd add that :

  • it wants to upload the phploy.ini file !!!
  • the pre-deploy and post-deploy commands are also ignored

gavrochelegnou avatar Apr 17 '25 10:04 gavrochelegnou

Thank you for your reports @Mavv3006 and @gavrochelegnou

banago avatar Apr 21 '25 09:04 banago

You're welcome and thanks for the grat work. In the meantime i'd recommend removing the 5.0-beta from the downloads, the fact that it uploads the phploy.ini is a major security breach for everyone using it.

gavrochelegnou avatar Apr 23 '25 08:04 gavrochelegnou