@@ -614,7 +614,6 @@ attach all predefined, package specific tasks to the overall tasks:
614614 end
615615 end
616616 deploy
617- .runTask('main:store_github_credentials')
618617 .runTask('main:commit_api_database')
619618 end
620619
@@ -737,17 +736,8 @@ duplicates and tells the user.
737736
738737# Final Steps
739738
740- If we are doing a production build on Travis, we have to store credentials for
741- GitHub (passed as environment variables) and commit/push the new API database.
742-
743- inv.task('main:store_github_credentials')
744- .using(busybox)
745- .withConfig({env = {"TOKEN=" .. ENV.GITHUB_TOKEN}})
746- .withHostConfig({binds = {"./data/api:/source"}})
747- .run('/bin/sh', '-c', 'echo "https://${TOKEN}:@github.com" > .git/credentials')
748- .using(git)
749- .withHostConfig({binds = {"./data/api:/source"}})
750- .run('config', 'credential.helper', 'store --file=.git/credentials')
739+ If we are doing a production build on Travis, we have to commit/push the new
740+ API database.
751741
752742 inv.task('main:commit_api_database')
753743 .using(git)
@@ -899,12 +889,12 @@ the packages, the build environment has to be prepared:
899889 inv.task('main:netrc:trusted')
900890 .using(busybox)
901891 .withConfig({env = {"TOKEN=" .. ENV.GITHUB_TOKEN}})
902- .run('/bin/sh', '-c', 'echo "machine github.com login $TOKEN password _ " > data/netrc')
892+ .run('/bin/sh', '-c', 'echo "machine github.com login $TOKEN" > data/netrc')
903893 .run('chmod', '0600', 'data/netrc')
904894
905895 inv.task('main:netrc:plain')
906896 .using(busybox)
907- .run('/bin/sh', '-c', 'echo "machine github.com login mulled_bot password _ " > data/netrc')
897+ .run('/bin/sh', '-c', 'echo "machine github.com login mulled_bot" > data/netrc')
908898 .run('chmod', '0600', 'data/netrc')
909899
910900 inv.task('main:configure_git')
0 commit comments