Skip to content

Commit

Permalink
add: CI filters
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Aug 15, 2019
1 parent d079fae commit 46fbb34
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Push workflow

on: [push]
on:
push:
tags:
- invalid-tag

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker build
if: github.event_name != 'delete' && github.event_name != 'create'
if:
github.event.deleted == false
run: docker build -t peaceiris/actions-hugo .
- name: Check Hugo version
if: github.event_name != 'delete' && github.event_name != 'create'
if: success()
run: docker run peaceiris/actions-hugo:latest version

0 comments on commit 46fbb34

Please sign in to comment.