diff options
author | DSRKafuU | 2020-04-17 10:15:01 +0800 |
---|---|---|
committer | GitHub | 2020-04-17 10:15:01 +0800 |
commit | 3834f74b43554cd10de93a15d84953e17b9c995e (patch) | |
tree | c23771cfe64fb61c7ba32029b51737790bf09702 /.github | |
parent | 1301d9b6dae7c85f28efb23ce15d6242cfc18df0 (diff) | |
parent | 716e780d0a89096e073f4cd223c3a901740cb080 (diff) | |
download | hugo-theme-fuji-3834f74b43554cd10de93a15d84953e17b9c995e.tar.gz hugo-theme-fuji-3834f74b43554cd10de93a15d84953e17b9c995e.tar.bz2 hugo-theme-fuji-3834f74b43554cd10de93a15d84953e17b9c995e.zip |
Merge pull request #1 from ress997/patch-1
GitHub Actions support
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 21 |
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 |