Skip to content

Commit

Permalink
Add baseurl (#115)
Browse files Browse the repository at this point in the history
* I am showing a commit in github desktop

* another change

* adding link checker

tested locally with act until it worked
  • Loading branch information
Sheeri committed Oct 15, 2020
1 parent d5af9fe commit ccf34de
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Jekyll site CI with docker
github:
workspace:/Users/sheeri/github/wildaid.github.io
name: Jekyll site CI link checker

on:
push:
Expand All @@ -13,13 +15,15 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: fake to run on my machine
run: apt-get update && apt-get install docker.io -y
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
-v ${{ github.workspace }}:/srv/jekyll \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build"
- name: Check HTML
uses: chabad360/htmlproofer@master
with:
directory: "./_site"
directory: "${{ github.workspace }}/_site"
arguments: --allow-hash-href --empty-alt-ignore --check_img_http
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ To test that all links work, and all images have alt-tags, and similar issues -
`./script/test_images_links.sh` <BR><BR>

## Style guide

<BR><BR>
The style guide includes notes on accessibility, and can be seen in the [style](https://wildaid.github.io/style) directory.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ title: O-FISH Docs
markdown: kramdown
remote_theme: pmarsceill/just-the-docs
theme: just-the-docs
baseurl: .

repository: wildaid/wildaid.github.io

0 comments on commit ccf34de

Please sign in to comment.