migrate: GitHub Actions beta v2 (HCL to YAML)

This commit is contained in:
peaceiris 2019-08-15 17:54:42 +09:00
parent b101526f7f
commit a4934c9b55
2 changed files with 17 additions and 9 deletions

View file

@ -1,9 +0,0 @@
workflow "Main workflow" {
on = "push"
resolves = ["docker-build"]
}
action "docker-build" {
uses = "actions/docker/cli@master"
args = "build -t peaceiris/actions-hugo ."
}

17
.github/workflows/push.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Push workflow
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker build
uses: actions/docker/cli@master
with:
args: build -t peaceiris/actions-hugo .
- name: Check Hugo version
uses: actions/docker/cli@master
with:
args: run peaceiris/actions-hugo:latest version