diff options
author | Wen-Wei Tseng <sosiristseng@gmail.com> | 2020-11-16 05:35:56 +0300 |
---|---|---|
committer | Wen-Wei Tseng <sosiristseng@gmail.com> | 2020-11-16 05:35:56 +0300 |
commit | 57d31c8d2151428a8cb08f551c10b290c9a2fcad (patch) | |
tree | c37b531a5e7472b947653ff5d709eb3716c292a7 /.github | |
parent | d5008c8e198be958cf55e7fd375e7e3cb7803129 (diff) |
Test build action
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..44c67a3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + hugo-version: + - 'latest' + - '0.63.0' + steps: + - uses: actions/checkout@v2 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: ${{ matrix.hugo-version }} + extended: true + + - name: Run Hugo + working-directory: exampleSite + run: hugo --themesDir ../..
\ No newline at end of file |