service/static-shim: simplify tutorial, remove SUBDIR authored by Jérôme Charaoui's avatar Jérôme Charaoui
and GIT_SUBMODULE_STRATEGY as the suggested values are already used as
the default values, document instead in Design section (next commit)
......@@ -31,27 +31,20 @@ like this:
```
variables:
SITE_URL: example.torproject.org
SUBDIR: public/
include:
project: tpo/tpa/ci-templates
file: static-shim-deploy.yml
```
The `SITE_URL` and `SUBDIR` parameters need to be changed to reflect,
respectively, the FQDN of the website as defined in the
`static-components.yml` file, and the directory where the website was
built by the previous build stage. You may also need
`GIT_SUBMODULE_STRATEGY: recursive` if you have submodules (e.g. hugo
themes are often shipped as submodules).
The `SITE_URL` parameter must reflect the FQDN of the website as
defined in the `static-components.yml` file.
For example, for <https://status.torproject.org>, the `.gitlab-ci.yml`
file looks like this (`build` stage elided for simplicity):
variables:
GIT_SUBMODULE_STRATEGY: recursive
SITE_URL: status.torproject.org
SUBDIR: public/
include:
project: tpo/tpa/ci-templates
......
......