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:
parent
3d5e38fc1d
commit
c2f4f8d93b
2 changed files with 18 additions and 1 deletions
10
.repo-runner.yaml
Normal file
10
.repo-runner.yaml
Normal 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
|
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue