Only post when in production
All checks were successful
Push image to registry / build-image (push) Successful in 4m33s
All checks were successful
Push image to registry / build-image (push) Successful in 4m33s
This commit is contained in:
@ -342,7 +342,9 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
|
|||||||
|
|
||||||
sleep(2); // Wait for the caption to be added
|
sleep(2); // Wait for the caption to be added
|
||||||
|
|
||||||
$this->clickNext($browser); // Share the post
|
if (config("app.environment") !== "local") { // Don't share the post in local environment
|
||||||
|
$this->clickNext($browser); // Share the post
|
||||||
|
}
|
||||||
|
|
||||||
sleep(5); // Wait for the post to be completed
|
sleep(5); // Wait for the post to be completed
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user