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 #!/usr/bin/env bash
node --version node --version
npm -version yarn -version
hugo version hugo version
npm ci yarn install --frozen-lockfile
hugo --gc --minify --buildFuture hugo --gc --minify --buildFuture
[build] [build]
publish = "public" 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] [build.environment]
NODE_VERSION = "12.18.3" NODE_VERSION = "12.18.3"
...@@ -11,20 +11,20 @@ HUGO_ENV = "production" ...@@ -11,20 +11,20 @@ HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
[context.split1] [context.split1]
command = "npm run production && hugo --gc --minify --enableGitInfo" command = "yarn run production && hugo --gc --minify --enableGitInfo"
[context.split1.environment] [context.split1.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [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] [context.deploy-preview.environment]
HUGO_VERSION = "0.76.5" HUGO_VERSION = "0.76.5"
[context.branch-deploy] [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] [context.branch-deploy.environment]
HUGO_VERSION = "0.76.5" 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