codeRIT/hackathon_manager

View on GitHub
website/travis-deploy.sh

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash

echo "Deploying docs website to GitHub Pages..."

# See https://docusaurus.io/docs/en/publishing#using-travis-ci
git config --global user.name "${GH_NAME}"
git config --global user.email "${GH_EMAIL}"
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
cd website && yarn install && GIT_USER="${GH_NAME}" yarn run publish-gh-pages