Skip to content

fix name

fix name #2

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: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
file: Dockerfile.devel
push: false
tags: cs357-pr-build:${{ github.sha }}
- name: Run build in Docker
shell: docker run --rm --mount type=bind,source="$PWD"/,target=/opt/app cs357-pr-build:${{ github.sha }} make build