15 lines
355 B
YAML
15 lines
355 B
YAML
name: Push workflow
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Docker build
|
|
if: github.delete == false
|
|
run: docker build -t peaceiris/actions-hugo .
|
|
- name: Check Hugo version
|
|
if: github.delete == false
|
|
run: docker run peaceiris/actions-hugo:latest version
|