Last active
August 17, 2020 19:38
-
-
Save seabbs/5108f9fcb418fa872e699c4d83ed848a to your computer and use it in GitHub Desktop.
Update Rt estimates on a remote server over SSH. Run with: sudo bash update-rt-estimates.sh server-public-ip
This file contains hidden or 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
#!/bin/bash | |
# Get rid of the older update script | |
rm update-via-ssh.sh | |
# Get the new update script | |
curl --fail https://raw.githubusercontent.com/epiforecasts/covid-rt-estimates/master/bin/update-via-ssh.sh > update-via-ssh.sh | |
# Run the update script | |
bash update-via-ssh.sh ~/.ssh/id_rsa azureuser@$1 github-username-here github-pat-here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment