mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 04:48:33 +07:00
Update Netlify config and build CI
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
This commit is contained in:
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@@ -131,4 +131,7 @@ jobs:
|
||||
destination-branch: main
|
||||
git-user: terraform-docs-bot
|
||||
git-user-email: bot@terraform-docs.io
|
||||
git-commit-message: "Update website content"
|
||||
git-commit-message: |-
|
||||
Update website content
|
||||
|
||||
from: https://github.com/terraform-docs/terraform-docs/commit/${{ github.sha }}
|
||||
|
||||
@@ -2,9 +2,14 @@
|
||||
publish = "site/public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.80.0"
|
||||
HUGO_VERSION = "0.87.0"
|
||||
NODE_VERSION = "15.5.1"
|
||||
NPM_VERSION = "7.3.0"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "./scripts/docs/prepare-site.sh && cd site && npm install && hugo -b ${DEPLOY_PRIME_URL} --gc"
|
||||
command = """
|
||||
./scripts/docs/prepare-site.sh
|
||||
cd site
|
||||
npm install
|
||||
hugo -b ${DEPLOY_PRIME_URL} --gc
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user