website-build: Makefile: rename upload target to deploy.
Guix is being used to build the website and Guix has the 'guix deploy' command, so this should look more familiar to people using Guix. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
75f335ee5f
commit
19a26051d1
|
@ -14,7 +14,7 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
DOMAIN := libreboot.at
|
DOMAIN := libreboot.at
|
||||||
|
|
||||||
.PHONY: all build check help upload website.tar.gz
|
.PHONY: all build check help deploy website.tar.gz
|
||||||
|
|
||||||
all: website.tar.gz
|
all: website.tar.gz
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ help:
|
||||||
"help # Print this help" \
|
"help # Print this help" \
|
||||||
"test # run lighttpd on localhost:8080" \
|
"test # run lighttpd on localhost:8080" \
|
||||||
"check # Run automatic tests" \
|
"check # Run automatic tests" \
|
||||||
"upload # Upload the website to https://$(DOMAIN)" \
|
"deploy # Deploy the website to https://$(DOMAIN)" \
|
||||||
"website.tar.gz # Create a tarball of the website"
|
"website.tar.gz # Create a tarball of the website"
|
||||||
|
|
||||||
if WANT_GUIX
|
if WANT_GUIX
|
||||||
|
@ -108,7 +108,7 @@ test:
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
upload: website.tar.gz
|
deploy: website.tar.gz
|
||||||
curl \
|
curl \
|
||||||
--oauth2-bearer `cat id_oauth2_bearer` \
|
--oauth2-bearer `cat id_oauth2_bearer` \
|
||||||
-Fcontent=@website.tar.gz \
|
-Fcontent=@website.tar.gz \
|
||||||
|
|
Loading…
Reference in New Issue