1
1
Fork 0
mirror of https://github.com/mcuadros/ascode synced 2024-05-09 00:56:14 +02:00

ci: remove events of master push

This commit is contained in:
Máximo Cuadros 2020-03-30 00:59:12 +02:00
parent 3ac614c86c
commit 0f708d304c
No known key found for this signature in database
GPG Key ID: 17A5DFEDC735AE4B
3 changed files with 6 additions and 9 deletions

View File

@ -1,8 +1,5 @@
name: Docker Push
on:
push:
branches:
- master
release:
types:
- created

View File

@ -1,8 +1,5 @@
name: Documentation
on:
push:
branches:
- master
release:
types:
- created

View File

@ -40,17 +40,20 @@ GO_LDFLAGS_PACKAGES = \
starlibVersion=github.com/qri-io/starlib \
terraformVersion=github.com/hashicorp/terraform
GITHUB_REF ?= $(shell cat .git/HEAD | cut -d \ -f 2)
GIT_REF = $(GITHUB_REF)
GIT_REF_SHORT = $(shell echo $(GIT_REF) | cut -d / -f 3)
# Site
HUGO_SITE_PATH ?= $(BASE_PATH)/_site
HUGO_SITE_CONTENT_PATH ?= $(HUGO_SITE_PATH)/content
HUGO_SITE_TEMPLATE_PATH ?= $(HUGO_SITE_PATH)/themes/hugo-ascode-theme
HUGO_THEME_URL ?= https://github.com/mcuadros/hugo-ascode-theme
HUGO_PARAMS_VERSION ?= dev
HUGO_PARAMS_VERSION ?= $(GIT_REF_SHORT)
export HUGO_PARAMS_VERSION
# Rules
.PHONY: documentation clean hugo-server
.PHONY: documentation clean hugo-server hugo-build goldflags examples
documentation: $(RUNTIME_MODULES)
$(RUNTIME_MODULES): $(DOCUMENTATION_RUNTIME_PATH) $(STARLIB_PKG_LOCATION)