actions-hugo/.github/workflows/push.yml

16 lines
435 B
YAML
Raw Normal View History

name: Push workflow
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker build
2019-08-15 14:19:55 +02:00
if: github.event.deleted == false && github.event.created == false
run: docker build -t peaceiris/actions-hugo .
- name: Check Hugo version
2019-08-15 14:19:55 +02:00
if: github.event.deleted == false && github.event.created == false
run: docker run peaceiris/actions-hugo:latest version