diff --git a/pillar/dev/secrets/docs.sls b/pillar/dev/secrets/docs.sls index 7ea7d12e..1dde112a 100644 --- a/pillar/dev/secrets/docs.sls +++ b/pillar/dev/secrets/docs.sls @@ -1,3 +1,6 @@ docs: sentry: dsn: https://deadbeefdeadbeefdeadbeefdeadbeef@sentry.io/6666666 + fastly: + service_id: deadbeefdeadbeefdead + token: deadbeefdeadbeefdeadbeefdeadbeef diff --git a/salt/docs/init.sls b/salt/docs/init.sls index 6cb56a3a..0191d31d 100644 --- a/salt/docs/init.sls +++ b/salt/docs/init.sls @@ -78,6 +78,18 @@ docsbuild-sentry: - name: SENTRY_DSN - value: {{ pillar.get('docs', {}).get('sentry', {}).get('dsn', '') }} +docsbuild-fastly-service-id: + cron.env_present: + - user: docsbuild + - name: FASTLY_SERVICE_ID + - value: {{ pillar.get('docs', {}).get('fastly', {}).get('service_id', '') }} + +docsbuild-fastly-token: + cron.env_present: + - user: docsbuild + - name: FASTLY_TOKEN + - value: {{ pillar.get('docs', {}).get('fastly', {}).get('token', '') }} + docsbuild-no-html: cron.present: - identifier: docsbuild-no-html