mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-05-08 01:25:28 +08:00
19 lines
403 B
YAML
19 lines
403 B
YAML
name: Push workflow
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- invalid-tag
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Docker build and print Hugo version
|
|
if: github.event.deleted == false
|
|
run: |
|
|
docker build -t peaceiris/actions-hugo . &&
|
|
docker run peaceiris/actions-hugo:latest version ||
|
|
echo -e "\e[33mjob skipped\e[m"
|