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

45 lines
788 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
2023-08-21 20:35:34 +02:00
path: sample/themes/vinyl-records-collection-theme
2023-08-21 19:31:34 +02:00
2023-08-21 20:33:30 +02:00
- run: find .
2023-08-21 19:31:34 +02:00
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
2023-08-21 20:43:52 +02:00
hugo-version: '0.116.1'
2023-08-21 20:38:10 +02:00
extended: true
2023-08-21 19:31:34 +02:00
- name: Run hugo build
run: |
2023-08-21 20:43:52 +02:00
cd sample && hugo| tee -a $GITHUB_STEP_SUMMARY
2023-08-21 19:31:34 +02:00