diff --git a/.drone.yml b/.drone.yml index 4fa6b32..f45a621 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,9 +11,7 @@ steps: path: /cache commands: - bundle config set --local path /cache/.bundle - - bundle env - bundle install - - ls -la /cache/.bundle - bundle exec jekyll build - name: deploy diff --git a/_posts/2022-05-08-drone-gitea-ci-cd.md b/_posts/2022-05-08-drone-gitea-ci-cd.md index 324ef38..7546236 100644 --- a/_posts/2022-05-08-drone-gitea-ci-cd.md +++ b/_posts/2022-05-08-drone-gitea-ci-cd.md @@ -29,8 +29,17 @@ Como el contenido hay que servirlo desde alguna parte, tengo la siguiente config ```nginx server { - ... - ... + server_name sergio.am; + root /var/www/_site; + index index.html; + + location / { + try_files $uri $uri/ @gitea; + } + + location @gitea { + proxy_pass http://gitea:3000; + } } ```