File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Jekyll site and run htmlproofer
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+
8
+ jobs :
9
+ github-pages :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check out the code
13
+ uses : actions/checkout@v2
14
+
15
+ # Use GitHub Actions' cache to shorten build times and decrease load on servers
16
+ - name : Use cache to shorten build time
17
+ uses : actions/cache@v1
18
+ with :
19
+ path : vendor/bundle
20
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
21
+ restore-keys : |
22
+ ${{ runner.os }}-gems-
23
+
24
+ - name : Build Jekyll site
25
+ uses : helaili/jekyll-action@v2
26
+ with :
27
+ build_only : true
28
+ build_dir : _site
29
+
30
+ - name : all dirs
31
+ run : |
32
+ ls
33
+ pwd
34
+
35
+ - name : Check HTML using htmlproofer
36
+ uses : chabad360/htmlproofer@master
37
+ with :
38
+ directory : ' _site'
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ title_separator : "-"
21
21
name : " pyOpenSci"
22
22
description : " pyOpenSci's Website"
23
23
url : " https://www.pyopensci.org/" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
24
- baseurl : # the subpath of your site, e.g. "/blog"
24
+ baseurl : " " # the subpath of your site, e.g. "/blog"
25
25
repository : " pyopensci/pyopensci.github.io" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
26
26
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
27
27
logo : " /images/logo.png" # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
You can’t perform that action at this time.
0 commit comments