Created
August 7, 2019 10:58
-
-
Save ajithvgiri/cf3c8700084de62d2074c0e39dd1c2ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# activate the bot only if your IDE/Editor application is active | |
tell application "Android Studio" # You can change the IDE/Editor name eg: Xcode or Atom | |
activate | |
repeat | |
set title to "Fyru bot" | |
set message to "I am making auto commit & push" | |
display notification message with title title sound name "Glass" | |
# change the project path,commit message and the branch | |
do shell script "cd Users/ajithvgiri/AndroidStudioProjects/ExampleProject && git add -A && git commit -m 'commit from Fyru bot' && git push origin development" | |
delay 14400 # you can change the delay time current 14400 seconds = 4 hours | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment