Skip to content

Update ci-workflow.yml #922

Update ci-workflow.yml

Update ci-workflow.yml #922

Workflow file for this run

name: "DPC Static Site CI Workflow"
on: [push, pull_request]
jobs:
build:
name: "Build and Test"
runs-on: codebuild-dpc-static-site-${{github.run_id}}-${{github.run_attempt}}
steps:
- name: "Checkout code"
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: "Build and Test"
run: |
mkdir -p _site
mkdir -p .jekyll-cache
sudo chmod -R 777 .
./scripts/build_and_test.sh
- name: "Check for broken links"
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
id: lychee
with:
fail: true
jobSummary: true
args: --no-progress --accept '200..=299, 401, 403, 405' .