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

      - name: build example
        run: |
          cd exampleSite
          mkdir themes
          ln -s ../.. themes/fuji
          hugo