use maintained theme
This commit is contained in:
parent
640572ecab
commit
0c7cb4486a
1779 changed files with 41468 additions and 26258 deletions
31
themes/CodeIT/.github/workflows/pull-request.yml
vendored
Normal file
31
themes/CodeIT/.github/workflows/pull-request.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: "Build and checks"
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
jobs:
|
||||
check_hugo_site:
|
||||
name: Check Hugo site
|
||||
runs-on: ubuntu-20.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: CodeIT
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: 'CodeIT'
|
||||
fetch-depth: 0
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: 'latest'
|
||||
extended: true
|
||||
- name: Build static pages
|
||||
run: hugo --source=exampleSite -v --gc
|
||||
- name: Check HTML
|
||||
uses: chabad360/htmlproofer@master
|
||||
with:
|
||||
directory: "CodeIT/exampleSite/public"
|
||||
arguments: --check-html --allow-hash-href --empty-alt-ignore --disable-external
|
Loading…
Add table
Add a link
Reference in a new issue