Skip to content

Deploying a webpacker project without sprockets fails #235

@chemic

Description

@chemic

Steps to reproduce

Deploy a project with assets built with Webpacker and without sprockets generating anything.

Expected behavior

Deploy succeeds

Actual behavior

Deploy fails because manifest files are missing

 DEBUG [a53efae3] 	cannot access '/home/deploy/appname/releases/20190911225157/public/assets/.sprockets-manifest*'
 DEBUG [a53efae3] 	: No such file or directory
 DEBUG [769a050c] 	cannot access '/home/deploy/appname/releases/20190911225157/public/assets/manifest*.*'
 DEBUG [769a050c] 	: No such file or directory

Hot-Fix

Adding a line to deploy.rb
Rake::Task["deploy:assets:backup_manifest"].clear_actions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions