This commit is contained in:
Aleksander Cynarski 2020-08-31 19:12:46 +02:00
parent 2bbdbaece5
commit 5e86455eb4

View File

@ -7,13 +7,7 @@ trigger:
- master
steps:
- name: Version check
image: paramah/hugo-deploy
commands:
- echo ">>> HUGO version check"
- hugo version
- name: Build
- name: Budowanie strony
image: paramah/hugo-deploy
commands:
- npm install -D --save autoprefixer
@ -22,7 +16,7 @@ steps:
- hugo --destination /drone/src/build
- minify -r -o /drone/src/build /drone/src/build
- name: Upload
- name: Deploy strony
image: paramah/hugo-deploy
commands:
- eval `ssh-agent -s`