Skip to content

Commit

Permalink
Remove updoc Makefile target
Browse files Browse the repository at this point in the history
Drops the updoc Makefile target so that it is not triggered during
artifact publish.

Signed-off-by: hasheddan <[email protected]>
  • Loading branch information
hasheddan committed Nov 7, 2022
1 parent 3aadb11 commit 7ab4774
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,23 +79,6 @@ XPKGS = provider-aws
# we ensure image is present in daemon.
xpkg.build.provider-aws: do.build.images

# ====================================================================================
# Setup Upbound Docs

updoc-upload:
@$(INFO) uploading docs for v$(VERSION_MAJOR).$(VERSION_MINOR)
@go run github.com/upbound/official-providers/updoc/cmd upload \
--docs-dir=$(ROOT_DIR)/docs \
--name=$(PROJECT_NAME) \
--version=v$(VERSION_MAJOR).$(VERSION_MINOR) \
--bucket-name=$(BUCKET_NAME) \
--cdn-domain=$(CDN_DOMAIN) || $(FAIL)
@$(OK) uploaded docs for v$(VERSION_MAJOR).$(VERSION_MINOR)

ifneq ($(filter release-%,$(BRANCH_NAME)),)
publish.artifacts: updoc-upload
endif

# ====================================================================================
# Targets

Expand Down

0 comments on commit 7ab4774

Please sign in to comment.