summaryrefslogtreecommitdiff
path: root/themes/CodeIT/.github/workflows/pull-request.yml
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CodeIT/.github/workflows/pull-request.yml')
-rw-r--r--themes/CodeIT/.github/workflows/pull-request.yml31
1 files changed, 0 insertions, 31 deletions
diff --git a/themes/CodeIT/.github/workflows/pull-request.yml b/themes/CodeIT/.github/workflows/pull-request.yml
deleted file mode 100644
index 6da7a74..0000000
--- a/themes/CodeIT/.github/workflows/pull-request.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-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