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:
Denis 'GNUtoo' Carikli 2023-10-25 21:05:24 +02:00 committed by Adrien 'neox' Bourmault
parent 75f335ee5f
commit 19a26051d1
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 3 additions and 3 deletions

View File

@ -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 \