From 716e780d0a89096e073f4cd223c3a901740cb080 Mon Sep 17 00:00:00 2001 From: Ress Date: Fri, 17 Apr 2020 08:59:21 +0900 Subject: Add GitHub Actions Support --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..375fb59 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Build Test +on: [push, pull_request] +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 'latest' + extended: true + + - name: Build + run: | + cd exampleSite + mkdir themes + ln -s ../.. themes/fuji + hugo --minify -- cgit v1.2.3