make it faster i guess
This commit is contained in:
parent
be0eeb09f6
commit
5bc0b9cf11
@ -1,25 +1,14 @@
|
|||||||
image: debian
|
image: debian
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- deploy
|
||||||
- upload
|
|
||||||
|
|
||||||
before_script:
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y rsync openssh-client hugo
|
- apt-get install -y rsync openssh-client hugo
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user