Skip to content

Updated Notes for the Rounding Module - Kaiyao #83

Updated Notes for the Rounding Module - Kaiyao

Updated Notes for the Rounding Module - Kaiyao #83

Workflow file for this run

name: Test build Jekyll site without deploying
on:
# Runs on pushes targeting the default branch
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "build_pr"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v4
with:
context: .
file: "Dockerfile.devel"
tags: cs357:local
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
- name: Run build
uses: addnab/docker-run-action@v3
with:
image: cs357:local
options: -v ${{ github.workspace }}:/srv/jekyll
shell: bash
run: cd /srv/jekyll && ls && make install && make build