summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
blob: 375fb5900ca3124c86b9244a90a73d4a0738b441 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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