Remove haffdata.com #65
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: Deploy Website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
linux: | |
name: Deploy Website | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Clone Deploy Repository | |
uses: actions/checkout@v2 | |
with: | |
repository: openra/openra.github.io | |
token: ${{ secrets.DEPLOY_TOKEN }} | |
path: _site | |
- name: Build Website | |
env: | |
JEKYLL_GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} | |
run: | | |
sudo gem install bundler -v 2.3.26 | |
bundle install | |
bundle exec jekyll build | |
- name: Push Website | |
run: | | |
cd _site | |
echo www.openra.net > CNAME | |
git config --local user.email "actions@github.com" | |
git config --local user.name "GitHub Actions" | |
git add --all | |
git commit -m "Deploy website to GitHub pages" | |
git push origin master |