feat: add deploy steps
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

- add deployment steps to droneci
- update makefile to use droneci workspace
This commit is contained in:
2024-08-25 15:12:08 +10:00
parent 77decc49f5
commit 6160593395
2 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
.PHONY: all prep download build clean
RPMBUILD := $(HOME)/rpmbuild
RPMBUILD := /drone/src/rpmbuild
SOURCES := $(RPMBUILD)/SOURCES
SPECS := $(RPMBUILD)/SPECS
SPECFILE := gonic.spec
@@ -23,7 +23,7 @@ download: prep
build: $(SPECFILE) download
@echo "Building RPM..."
@rpmbuild -ba $(SPECFILE)
@rpmbuild -ba --define "_topdir $(RPMBUILD)" $(SPECFILE)
@echo "RPM built."
clean: