Sha256: e3ca7e673f97134b7624c501e626f96844a2e50ca982b9968fcc3669efd23499
Contents?: true
Size: 641 Bytes
Versions: 4
Compression:
Stored size: 641 Bytes
Contents
require 'json' namespace :deploy do package = JSON.parse(File.read('composer.json')) # compile and upload the assets, but only if it's a Fork CMS project after :updated, 'sumo:assets:put' if package['name'] == 'forkcms/forkcms' # notify our bot about the deploy after :finished, 'sumo:notifications:deploy' end # Load the tasks load File.expand_path('../../tasks/assets.rake', __FILE__) load File.expand_path('../../tasks/db.rake', __FILE__) load File.expand_path('../../tasks/files.rake', __FILE__) load File.expand_path('../../tasks/notifications.rake', __FILE__) load File.expand_path('../../tasks/redirect.rake', __FILE__)
Version data entries
4 entries across 4 versions & 1 rubygems