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