vinyl-records-collection-theme/.github/workflows/test.yml
2023-08-21 19:35:11 +02:00

42 lines
682 B
YAML

name: Test workflow
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '.github/**'
- 'sample/**'
push:
branches:
- main
paths-ignore:
- '.github/**'
- 'sample/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
path: sample/themes/
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.110.0'
- name: Run hugo build
run: |
cd sample && hugo