make it faster i guess
This commit is contained in:
parent
be0eeb09f6
commit
5bc0b9cf11
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user