Skip to content

Merge pull request #51 from Purdue-ACM/sigbots-contact-update #26

Merge pull request #51 from Purdue-ACM/sigbots-contact-update

Merge pull request #51 from Purdue-ACM/sigbots-contact-update #26

Workflow file for this run

# ./github/workflows/deploy.yml
name: Deploy Site to GH Pages
on:
push:
branches: [master]
jobs:
build:
name: Build website
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- name: Ruby gem cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install Gems
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Build Jekyll
run: bundle exec jekyll build
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site/