summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-14 12:10:19 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-14 12:10:19 -0300
commit7cb88455cf4d9f65bff7e0412fc852188442cd4f (patch)
treeb34d7b16a244a936f9391a644d599ee4801290b5 /.gitlab-ci.yml
parent38473772d87eade12fca3a0ebf78fddb376c01c2 (diff)
Added build with webp files
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f3eb96e..cc33d9f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,6 @@ deploy:
- ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && rm -rf /var/www/rogs.me/* && hugo -s . -d /var/www/rogs.me/"
+ - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && ./build.sh"
only:
- master