Threespot / example-wordpress-composer

MIT License
0 stars 1 forks source link

Panthoen Commit Error #12

Open matbrady opened 3 weeks ago

matbrady commented 3 weeks ago
warning: in the working copy of 'web/wp/wp-includes/js/dist/vendor/wp-polyfill-importmap.js', CRLF will be replaced by LF the next time Git touches it
 [notice] Running git -C /private/var/folders/5m/l2797p6x6936rt0y7bq338h40000gp/T/local-sitej1Pk4K/lfc-wp commit -q -m 'Build assets for dev.'
 [notice] Running git -C /private/var/folders/5m/l2797p6x6936rt0y7bq338h40000gp/T/local-sitej1Pk4K/lfc-wp push --force -q pantheon master
remote: 
remote: PANTHEON NOTICE:
remote: 
remote: Changes to `pantheon.yml` detected.
remote: 
remote: Successfully applied `pantheon.yml` to the 'dev' environment.
remote: 
remote: 
remote: 
remote: PANTHEON NOTICE:
remote: 
remote: Changes to `pantheon.yml` database version detected.
remote: 
remote: An upgrade to the database for environment 'dev' to '10.6' is in progress.
remote: You can track the status of the upgrade from the Workflows drop-down on the Dashboard for
remote: your site.
remote: 
remote: 
remote: 
remote: PANTHEON ERROR:
remote: 
remote: Commit 83fe29485385476dab37f0c9e70d47774a140d47 rejected.
remote: Commit: A commit between 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab and 83fe29485385476dab37f0c9e70d47774a140d47
remote: Contains changes to one of the reserved files paths: ['sites/default/files', 'wp-content/uploads', 'web/sites/default/files', 'web/wp-content/uploads']
remote: This path is reserved for the CMS filesystem and should not be
remote: added or committed to your codebase.
remote: 
remote: To see a list of commits in the commit range and the files that they modify, run:
remote:     git log --name-status 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab..83fe29485385476dab37f0c9e70d47774a140d47
remote: 
remote: You will either need to revert these commits:
remote:     git checkout 14b5b21fb4ee7cf613cae125f1fe8a6d62b5ceab -- <path>
remote: 
remote: Or have git un-track these files
remote:     git rm --cached <path>
remote: 
remote: To prevent this from happening in the future, ensure the files path is in
remote: your ".gitignore" file
remote: 
remote: 
remote: error: hook declined to update refs/heads/master
To ssh://codeserver.dev.bd76e50b-7fda-4556-a308-4f317b630f25.drush.in:2222/~/repository.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://co
matbrady commented 3 weeks ago

Doesn't appear the web/wp-content/uploads/cache directory can be included in build template.