From 4be232d4a0ae1c5a69bab94e1a860b52cb23382f Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Tue, 9 Mar 2021 21:21:46 +0100 Subject: [PATCH] Add Github Actions CI --- .github/workflows/hugo_ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/hugo_ci.yml diff --git a/.github/workflows/hugo_ci.yml b/.github/workflows/hugo_ci.yml new file mode 100644 index 0000000..776c0be --- /dev/null +++ b/.github/workflows/hugo_ci.yml @@ -0,0 +1,27 @@ +name: Hugo CI + +on: + push: + branches: ["**"] + pull_request: + branches: [master] + +defaults: + run: + working-directory: ./ + +jobs: + compile: + timeout-minutes: 10 + name: Compile + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Setup hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: "latest" + extended: true + - name: Build + run: hugo -D -F