-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows access to only be granted to this repository and will allow more fine grained control for managing the forecast data and website output separately. It required setting up an SSH key as an environmental variable in Travis.
- Loading branch information
1 parent
8d33e92
commit 64731e8
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
eval "$(ssh-agent -s)" # Start the ssh agent | ||
echo "$DEPLOY_KEY" > deploy_key.pem | ||
chmod 600 deploy_key.pem # This key should have push access | ||
ssh-add deploy_key.pem | ||
git add docs/index.html | ||
git commit -m "Automatic website update" | ||
git push origin master |