vinyl-records-collection-theme/.github/workflows/test.yml

42 lines
682 B
YAML
Raw Normal View History

2023-08-21 19:31:34 +02:00
name: Test workflow
on:
2023-08-21 19:33:54 +02:00
workflow_dispatch:
2023-08-21 19:31:34 +02:00
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: |
2023-08-21 19:35:11 +02:00
cd sample && hugo
2023-08-21 19:31:34 +02:00