echo"Error: Please provide the server as an argument."
echo"Usage: $0 <server>"
exit1
fi
SERVER="$1"
rm -rf public/*
hugo --minify
scp -r public/* "$SERVER":/srv/
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.