瀏覽代碼

test: add github action

builds test site with latest Hugo version
George Cushen 4 年之前
父節點
當前提交
2f98b006bf
共有 1 個文件被更改,包括 6 次插入1 次删除
  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