Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
ci: added pull request checks
Browse files Browse the repository at this point in the history
fix #33
  • Loading branch information
victor-pogor committed Nov 18, 2020
1 parent 6893033 commit be0a5b5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Build and checks"
on:
push:
branches:
- master
- dev
jobs:
deploy-blog:
name: Deploying the static pages to the FTP server
runs-on: ubuntu-20.04
container: klakegg/hugo:ext-alpine
defaults:
run:
working-directory: CodeIT
steps:
- name: Set up Git repository
uses: actions/checkout@v2
with:
path: 'CodeIT'
fetch-depth: 0
- name: Install HTML proofer
run: apk update && apk install -y ruby-full && gem install html-proofer --no-document
- name: Build static pages
run: hugo --source=exampleSite -v --gc
- name: Check the theme documentation
run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external

0 comments on commit be0a5b5

Please sign in to comment.