From 5bc0b9cf111a4df932400c1306960550d2c93fab Mon Sep 17 00:00:00 2001 From: Alexandru Date: Thu, 15 Aug 2024 11:15:41 +0300 Subject: [PATCH] make it faster i guess --- .gitlab-ci.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b88cd47..87c8e68 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,14 @@ image: debian stages: - - build - - upload + - deploy -before_script: - - apt-get update - - apt-get install -y rsync openssh-client hugo - -build: - stage: build +deploy: + stage: deploy script: + - apt-get update + - apt-get install -y rsync openssh-client hugo - hugo - artifacts: - paths: - - public/ - expire_in: 1 hour - -upload: - stage: upload - script: - mkdir -p ~/.ssh - echo "$PRIVKEY" | base64 -d > ~/.ssh/id_rsa - sleep 60