mirror of
https://github.com/Wivik/vinyl-records-collection-theme.git
synced 2024-11-28 18:43:10 +01:00
42 lines
682 B
YAML
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
|
|
|
|
|