Dist folder does not show up on DO droplet

Hello Roots Community,

I am trying to deploy my setup (bedrock / trellis & sage) into my DO droplet. Everything works perfectly, except for the fact my dist folder does not appear.

I added the code below into the production/main.yml folder.

[code]pre_build_commands_local:

  • path: "{{ project.local_path }}/web/app/themes/mytheme"
    cmd: npm install
  • path: "{{ project.local_path }}/web/app/themes/mytheme"
    cmd: bower install
  • path: "{{ project.local_path }}/web/app/themes/mytheme"
    cmd: gulp --production
    local_files:
  • name: compiled theme assets
    src: "{{ project.local_path }}/web/app/themes/mytheme/dist"
    dest: web/app/themes/mytheme[/code]

Does anyone have any suggestions or can advise me to solve this problem?

Best regards,

Tim

Trellis had some deploy updates recently. This is the new recommended way:

Thanks for your quick response Ben!

It’s working!

1 Like

This topic was automatically closed after 6 hours. New replies are no longer allowed.