Skip to content

Added course info (#151) #68

Added course info (#151)

Added course info (#151) #68

Workflow file for this run

name: github pages
on:
push:
branches:
- main
- github-pages
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
lfs: true # Fetches LFS data
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.122.0'
extended: true
- name: Build
run: hugo -F --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/github-pages'}}
with:
external_repository: mit-eesg/mit-eesg.github.io
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages