serve.sh (213B)
1 #!/bin/sh 2 3 cd "$1" 4 tar -c -f ../archive.tar * 5 cd .. 6 7 . ./.env 8 curl "https://$2" -X PUT -H "Authorization: Pages $GIT_PAGES_PASSWORD" -H "Content-Type: application/x-tar" --data-binary @archive.tar 9 10 rm archive.tar
websitesource code for the ttmaths.uk website | |
| Log | Files | Refs | README |