Minify when deploying
This commit is contained in:
parent
b9f75bbbbd
commit
11bdd5931b
1 changed files with 2 additions and 2 deletions
|
@ -10,14 +10,14 @@ secrets:
|
||||||
tasks:
|
tasks:
|
||||||
- build: |
|
- build: |
|
||||||
cd redstrate.com
|
cd redstrate.com
|
||||||
hugo
|
hugo --minify
|
||||||
- deploy: |
|
- deploy: |
|
||||||
cd redstrate.com
|
cd redstrate.com
|
||||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
||||||
rsync -e 'ssh -p 38901' -Wvr public/ deploy@ryne.moe:/srv/http/redstrate.com
|
rsync -e 'ssh -p 38901' -Wvr public/ deploy@ryne.moe:/srv/http/redstrate.com
|
||||||
- build-retro: |
|
- build-retro: |
|
||||||
cd redstrate.com
|
cd redstrate.com
|
||||||
hugo --theme retro
|
hugo --minify --theme retro
|
||||||
- deploy-retro: |
|
- deploy-retro: |
|
||||||
cd redstrate.com
|
cd redstrate.com
|
||||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
||||||
|
|
Loading…
Add table
Reference in a new issue