Compare commits

...

7 Commits

Author SHA1 Message Date
Shohei Ueda
79fb16c8e4 Release: v0.57.1 (#13)
* upgrade: hugo to v0.57.1

* enhance: .github/PULL_REQUEST_TEMPLATE.md
2019-08-16 20:45:05 +09:00
peaceiris
d08dcd0297 fix: CI 2019-08-16 00:29:52 +09:00
peaceiris
1daa8a255f enhance: test job 2019-08-16 00:08:44 +09:00
peaceiris
46fbb349ce add: CI filters 2019-08-15 23:48:21 +09:00
Shohei Ueda
d079faea7e enhance: GitHub Actions settings (#11) 2019-08-15 21:26:43 +09:00
Shohei Ueda
b9842008ed enhance: GitHub Actions settings (#10) 2019-08-15 21:19:55 +09:00
Shohei Ueda
021efbc871 add: filter to prevent CI when branch are deleted (#9) 2019-08-15 20:43:36 +09:00
4 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
- [ ] upgrade: hugo to `v0..`
- [ ] upgrade: hugo to ``
- [ ] update: tag on readme
- [ ] release: `v0..` with **master** branch
- [ ] release: `` with **master** branch

View File

@@ -1,13 +1,18 @@
name: Push workflow
on: [push]
on:
push:
tags:
- invalid-tag
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker build
run: docker build -t peaceiris/actions-hugo .
- name: Check Hugo version
run: docker run peaceiris/actions-hugo:latest version
- 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[31mfailed to build\e[m" && exit 1)

View File

@@ -9,7 +9,7 @@ LABEL "repository"="https://github.com/peaceiris/actions-hugo"
LABEL "homepage"="https://github.com/peaceiris/actions-hugo"
LABEL "maintainer"="peaceiris"
ENV HUGO_VERSION='0.57.0'
ENV HUGO_VERSION='0.57.1'
ENV HUGO_NAME="hugo_extended_${HUGO_VERSION}_Linux-64bit"
ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_NAME}.tar.gz"
RUN wget "${HUGO_URL}" && \

View File

@@ -37,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: build
uses: peaceiris/actions-hugo@v0.57.0
uses: peaceiris/actions-hugo@v0.57.1
with:
args: --gc --minify --cleanDestinationDir
- name: deploy