actions-hugo/.github/workflows/push.yml
2019-08-15 21:26:43 +09:00

15 lines
435 B
YAML

name: Push workflow
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker build
if: github.event_name != 'delete' && github.event_name != 'create'
run: docker build -t peaceiris/actions-hugo .
- name: Check Hugo version
if: github.event_name != 'delete' && github.event_name != 'create'
run: docker run peaceiris/actions-hugo:latest version