Skip to content

Commit

Permalink
added all-in-one update script (for use e.g. as a cron job)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Nov 1, 2014
1 parent ef52c7a commit e57da08
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions updateFromNetmon.sh
@@ -0,0 +1,11 @@
#!/bin/bash

# get all nodes from netmon and update the community files
git pull
node ./create_community_files.js

# update the github repository with the new data
cd ../freifunkfranken-community/
git pull
git commit -a -m "updated from netmon"
git push origin master

0 comments on commit e57da08

Please sign in to comment.