summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authoramzrk22020-04-17 10:55:22 +0800
committeramzrk22020-04-17 10:55:22 +0800
commitcf02678b9a184469f74a0a07c0bed592b85d34d8 (patch)
treed5abe2cc6a4fdd90cc05eebc1cfbf1969dc19cb1 /.github/workflows/test.yml
parenta2d3c7aa1e284f141e14481523f3488a65ccdbd7 (diff)
parent3834f74b43554cd10de93a15d84953e17b9c995e (diff)
downloadhugo-theme-fuji-cf02678b9a184469f74a0a07c0bed592b85d34d8.tar.gz
hugo-theme-fuji-cf02678b9a184469f74a0a07c0bed592b85d34d8.tar.bz2
hugo-theme-fuji-cf02678b9a184469f74a0a07c0bed592b85d34d8.zip
Merge branch 'master' into dev
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml21
1 files changed, 21 insertions, 0 deletions
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