From 2f98b006bfda273c263b7f211df44563fe1d25d1 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 27 Oct 2020 23:44:15 +0000 Subject: [PATCH] test: add github action builds test site with latest Hugo version --- .github/workflows/build-test-site.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-site.yaml b/.github/workflows/build-test-site.yaml index 4390cc0f..ea82534e 100644 --- a/.github/workflows/build-test-site.yaml +++ b/.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