make it faster i guess

This commit is contained in:
Alexandru 2024-08-15 11:15:41 +03:00
parent be0eeb09f6
commit 5bc0b9cf11

View File

@ -1,25 +1,14 @@
image: debian
stages:
- build
- upload
- deploy
before_script:
deploy:
stage: deploy
script:
- apt-get update
- apt-get install -y rsync openssh-client hugo
build:
stage: build
script:
- hugo
artifacts:
paths:
- public/
expire_in: 1 hour
upload:
stage: upload
script:
- mkdir -p ~/.ssh
- echo "$PRIVKEY" | base64 -d > ~/.ssh/id_rsa
- sleep 60