I am creating a nightly build powershell script for an android app. It will behave like this:
- Get latest code from github
- build the android .apk file
- copy that apk file into a builds folder
This script will be run every night by a windows scheduled task.
I'm having trouble with automatically getting the latest code. I am being prompted for credentials. How can I write a nightly build script that includes my credentials so that I dont have type them in every single time?