1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 10:31:16 +00:00

Add Github publishing

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-12-02 19:43:46 +01:00
parent 3d5e38fc1d
commit c2f4f8d93b
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 18 additions and 1 deletions

10
.repo-runner.yaml Normal file
View file

@ -0,0 +1,10 @@
---
image: "quay.io/luzifer/repo-runner-image"
checkout_dir: /go/src/github.com/Luzifer/share
commands:
- make publish
environment:
CGO_ENABLED: 0

View file

@ -1,7 +1,14 @@
default:
pack: generate
go-bindata frontend
go-bindata -modtime 1 frontend
generate:
coffee -c frontend/app.coffee
auto-hook-pre-commit: pack
git diff --exit-code bindata.go
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh