Add code highlighting. #32
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
name: Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y ruby ruby-dev pandoc doxygen git make rsync | |
sudo gem install bundler | |
- name: Deploy Website | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "StanfordLegion GitHub Actions" | |
eval "$(ssh-agent -s)" | |
./_add_deploy_key.sh | |
make github | |
env: | |
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }} |