Created
October 23, 2022 17:39
-
-
Save Jontes-Tech/216e95153e33f64c37a512e28e346d2a to your computer and use it in GitHub Desktop.
Upload to Nodesite.eu CDN.
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
#!/bin/bash | |
a=`nodesite-cdn upload $1` | |
e="${1#*.}" | |
b=`2>/dev/null curl https://l.og.ax/https://cdn.nodesite.eu/{$a}.{$e}` | |
notify-send "$1 uploaded to Nodesite CDN!" | |
echo "Your URL is: $b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment