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