Commit a5e2ec4c authored by Christopher Guindon's avatar Christopher Guindon
Browse files

fix github actions


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent 11090ab9
#!/usr/bin/env bash
node --version
npm -version
yarn -version
hugo version
npm ci
yarn install --frozen-lockfile
hugo --gc --minify --buildFuture
[build]
publish = "public"
command = "npm run production && hugo --gc --minify -b https://www.osgi.org"
command = "yarn run production && hugo --gc --minify -b https://www.osgi.org"
[build.environment]
NODE_VERSION = "12.18.3"
......@@ -11,20 +11,20 @@ HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "npm run production && hugo --gc --minify --enableGitInfo"
command = "yarn run production && hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
[context.deploy-preview]
command = "npm run production && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
command = "yarn run production && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.76.5"
[context.branch-deploy]
command = "npm run production && hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "yarn run production && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.76.5"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment