Browse Source

test: add github action

builds test site with latest Hugo version
George Cushen 4 years ago
parent
commit
2f98b006bf
1 changed files with 6 additions and 1 deletions
  1. 6 1
      .github/workflows/build-test-site.yaml

+ 6 - 1
.github/workflows/build-test-site.yaml

@@ -6,6 +6,11 @@ on:
       - master
     paths:
       - 'wowchemy/**'
+  pull_request:
+    branches:
+      - master
+    paths:
+      - 'wowchemy/**'
 
 jobs:
   deploy:
@@ -13,7 +18,7 @@ jobs:
     steps:
       - uses: actions/checkout@v2
         with:
-          submodules: true  # Fetch Hugo themes (true OR recursive)
+          submodules: true  # Fetch any Git submodules (true OR recursive)
           fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
 
       - name: Setup Hugo