Git Integration is committing, but not pushing, changes

I have successfully set up the Git Integration to commit changes made from the control panel, but changes aren't pushing to GitHub. I can push them manually, of course, but it sure seems like setting STATAMIC_GIT_PUSH=true in my .env file should push automatically, yes?

Here are my settings (Statamic 3):

.env

STATAMIC_GIT_ENABLED=true
STATAMIC_GIT_USER_NAME=[my_github_username]
STATAMIC_GIT_USER_EMAIL=[my_github_email]
STATAMIC_GIT_PUSH=true

config/statamic/git.php

<?php
return [
  'enabled' => env('STATAMIC_GIT_ENABLED', false),
  'automatic' => env('STATAMIC_GIT_AUTOMATIC', true),
  'dispatch_delay' => env('STATAMIC_GIT_DISPATCH_DELAY', 0),
  'use_authenticated' => true,
  'user' => [
    'name' => env('STATAMIC_GIT_USER_NAME', 'Spock'),
    'email' => env('STATAMIC_GIT_USER_EMAIL', '[email protected]'),
  ],
  'paths' => [
    base_path('content'),
    base_path('users'),
    resource_path('blueprints'),
    resource_path('fieldsets'),
    resource_path('forms'),
    resource_path('users'),
    storage_path('forms'),
    public_path('assets'),
  ],
  'commands' => [
    'git add {{ paths }}',
    'git -c "user.name={{ name }}" -c "user.email={{ email }}" commit -m "{{ message }}"',
  ],
  'push' => env('STATAMIC_GIT_PUSH', false),
  'ignored_events' => [],
  'locale' => env('STATAMIC_GIT_LOCALE', null),
];
>>>>>>> Unanswered <<<<<<<
6 Replies
2 Followers