Support » Fixing WordPress » Help with Github deploy worfklow

  • I am in the process of moving our self hosted site to wordpress.com hosted.

    The problem I have is that the current repo has the structure as such “Theme/sage-master”.

    For the wp.com managed site, I am using their deploy over SFTP Github Action (https://github.com/Automattic/FTP-Deploy-Action).

    I cannot get this to just push the sage-master folder which causes issues with how wp.com expects within /wp-content/themes. I’ve tried creating a symlink via the SFTP client I am using (Cyberduck) but this doesn’t seem to work.

    Any ideas here?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Topher

    (@topher1kenobe)

    I would approach the wp.com support folk on this one, they know a LOT more about that process than most people here, and you’ll get help a lot faster.

    Thread Starter phg4r

    (@phg4r)

    I did, their response was ” So, unfortunately, we do not troubleshoot Github or sftp issues in support”.

    Thread Starter phg4r

    (@phg4r)

    I figured I should be able to just create /wp-content/themes/sage-master and some sort of file that have that point to /wp-content/themes/Theme/sage-master if the symlink isn’t working?

    I am not super familiar with wordpress theme development but I would image just changing the file structure on the Github end to not have Themes as the parent folder would cause some sort of issue there?

    Looking at the docs for https://github.com/Automattic/FTP-Deploy-Action, it seems like you should be able to set a specific folder to deploy with the local-dir setting.

    Thread Starter phg4r

    (@phg4r)

    @glendaviesnz I already have that but it still pulls the Theme parent folder along with it.

    What happens if you set Theme/sage-master/ as the local-dir?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.