Release v0.57.2 (#14)

* enhance: GitHub Actions

* upgrade: hugo to v0.57.2

* enhance: Pull Request template
This commit is contained in:
Shohei Ueda
2019-08-20 00:52:44 +09:00
committed by GitHub
parent 79fb16c8e4
commit 55565fc0f6
4 changed files with 10 additions and 7 deletions

View File

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

View File

@@ -7,12 +7,14 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Docker build and print Hugo version
if: github.event.deleted == false
env:
DOCKER_IMAGE: ${{ github.repository }}:${{ github.sha }}
run: |
docker build -t peaceiris/actions-hugo . &&
docker run peaceiris/actions-hugo:latest version ||
(echo -e "\e[31mfailed to build\e[m" && exit 1)
docker build . --file Dockerfile --tag ${DOCKER_IMAGE} &&
docker run ${DOCKER_IMAGE} version ||
(echo -e "\e[31m[${GITHUB_WORKFLOW}] failed to build\e[m" && exit 1)