diff --git a/scripts/ci/jobs/web.yml b/scripts/ci/jobs/web.yml index 784798da397bd07dc6abfc223902171dd584a245..a1898bfd00a2ee3eea97aca1358ffacb31ae614f 100644 --- a/scripts/ci/jobs/web.yml +++ b/scripts/ci/jobs/web.yml @@ -30,6 +30,7 @@ preview web site: - if: '$CI_COMMIT_BRANCH != "master"' - changes: - web/ + - scripts/ci/jobs/web.yml artifacts: expose_as: 'Web Preview' paths: @@ -50,10 +51,12 @@ deploy web site: - yarn - hugo - netlify deploy --prod --dir=public + - node_modules/.bin/hugo-algolia --toml -s rules: - if: '$CI_COMMIT_BRANCH == "master"' - changes: - web/ + - scripts/ci/jobs/web.yml cache: paths: - web/node_modules