Skip to content

Migrate to less costly TLD (.io @ $50/yr -> .net @ $15/yr) #54

Migrate to less costly TLD (.io @ $50/yr -> .net @ $15/yr)

Migrate to less costly TLD (.io @ $50/yr -> .net @ $15/yr) #54

Workflow file for this run

name: Deploy exampleSite
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-latex-extra
# Note: Mainroad dependency is generated by Makefile
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest
- name: Build Site
run: make
- name: Deploy Changes
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site