Added config setting to disable site

This commit is contained in:
2026-03-31 13:56:13 +02:00
parent dcc8201099
commit e4b9c36486
3 changed files with 10 additions and 4 deletions
+5 -2
View File
@@ -8,6 +8,7 @@ sites:
branch: gh-pages
domain: docs.my-lib.com
deploy_token: "${MY_LIB_DEPLOY_TOKEN}"
enabled: true
forward_rules:
- source: /npm
destination: https://www.npmjs.com/package/my-lib
@@ -17,7 +18,7 @@ sites:
destination: https://v$1.docs.my-lib.com/
status_code: 301
regex: true
- source: ^/blog/(?P<slug>[^/]+)$
destination: /posts/${slug}
status_code: 302
@@ -29,9 +30,11 @@ sites:
domain: yourname.com
spa: true
deploy_token: "${PORTFOLIO_DEPLOY_TOKEN}"
enabled: true
- repo: other-docs
owner: yourname
branch: gh-pages
domain: other-docs.yourdomain.com
deploy_token: "${OTHER_DOCS_DEPLOY_TOKEN}"
deploy_token: "${OTHER_DOCS_DEPLOY_TOKEN}"
enabled: true