Skip to main content
Module

x/discordeno/deploy.sh

Discord API library for Deno
Go to Latest
File
#!/usr/bin/env sh
# abort on errorsset -e
# buildcd docsnpm cinpm run docs:build
# navigate into the build output directorycd .vuepress/dist
# if you are deploying to a custom domainecho 'discordeno.js.org' > CNAME
git initgit add -Agit commit -m 'deploy'
# if you are deploying to https://<USERNAME>.github.io# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
# if you are deploying to https://<USERNAME>.github.io/<REPO>git push -f git@github.com:Skillz4Killz/Discordeno.git master:gh-pages
cd -