mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-22 01:10:39 +00:00
remove hugo docs build from ci for now
This commit is contained in:
parent
5f2bb4efa4
commit
be8e6e8bff
108
.drone.jsonnet
108
.drone.jsonnet
@ -320,60 +320,60 @@ local PipelineDocs = {
|
||||
NPM_CONFIG_LOGLEVEL: 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'testbuild',
|
||||
image: 'thegeeklab/hugo:0.83.1',
|
||||
commands: [
|
||||
'hugo -s docs/ -b http://localhost/',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'link-validation',
|
||||
image: 'thegeeklab/link-validator',
|
||||
commands: [
|
||||
'link-validator -ro',
|
||||
],
|
||||
environment: {
|
||||
LINK_VALIDATOR_BASE_DIR: 'docs/public',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'build',
|
||||
image: 'thegeeklab/hugo:0.83.1',
|
||||
commands: [
|
||||
'hugo -s docs/',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'beautify',
|
||||
image: 'node:lts-alpine',
|
||||
commands: [
|
||||
'npm install -g js-beautify',
|
||||
"html-beautify -r -f 'docs/public/**/*.html'",
|
||||
],
|
||||
environment: {
|
||||
FORCE_COLOR: true,
|
||||
NPM_CONFIG_LOGLEVEL: 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'publish',
|
||||
image: 'plugins/s3-sync',
|
||||
settings: {
|
||||
access_key: { from_secret: 's3_access_key' },
|
||||
bucket: 'geekdocs',
|
||||
delete: true,
|
||||
endpoint: 'https://sp.rknet.org',
|
||||
path_style: true,
|
||||
secret_key: { from_secret: 's3_secret_access_key' },
|
||||
source: 'docs/public/',
|
||||
strip_prefix: 'docs/public/',
|
||||
target: '/${DRONE_REPO_NAME}',
|
||||
},
|
||||
when: {
|
||||
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||
},
|
||||
},
|
||||
// {
|
||||
// name: 'testbuild',
|
||||
// image: 'thegeeklab/hugo:0.83.1',
|
||||
// commands: [
|
||||
// 'hugo -s docs/ -b http://localhost/',
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// name: 'link-validation',
|
||||
// image: 'thegeeklab/link-validator',
|
||||
// commands: [
|
||||
// 'link-validator -ro',
|
||||
// ],
|
||||
// environment: {
|
||||
// LINK_VALIDATOR_BASE_DIR: 'docs/public',
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// name: 'build',
|
||||
// image: 'thegeeklab/hugo:0.83.1',
|
||||
// commands: [
|
||||
// 'hugo -s docs/',
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// name: 'beautify',
|
||||
// image: 'node:lts-alpine',
|
||||
// commands: [
|
||||
// 'npm install -g js-beautify',
|
||||
// "html-beautify -r -f 'docs/public/**/*.html'",
|
||||
// ],
|
||||
// environment: {
|
||||
// FORCE_COLOR: true,
|
||||
// NPM_CONFIG_LOGLEVEL: 'error',
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// name: 'publish',
|
||||
// image: 'plugins/s3-sync',
|
||||
// settings: {
|
||||
// access_key: { from_secret: 's3_access_key' },
|
||||
// bucket: 'geekdocs',
|
||||
// delete: true,
|
||||
// endpoint: 'https://sp.rknet.org',
|
||||
// path_style: true,
|
||||
// secret_key: { from_secret: 's3_secret_access_key' },
|
||||
// source: 'docs/public/',
|
||||
// strip_prefix: 'docs/public/',
|
||||
// target: '/${DRONE_REPO_NAME}',
|
||||
// },
|
||||
// when: {
|
||||
// ref: ['refs/heads/main', 'refs/tags/**'],
|
||||
// },
|
||||
// },
|
||||
],
|
||||
depends_on: [
|
||||
'build-package',
|
||||
|
47
.drone.yml
47
.drone.yml
@ -479,51 +479,6 @@ steps:
|
||||
FORCE_COLOR: true
|
||||
NPM_CONFIG_LOGLEVEL: error
|
||||
|
||||
- name: testbuild
|
||||
image: thegeeklab/hugo:0.83.1
|
||||
commands:
|
||||
- hugo -s docs/ -b http://localhost/
|
||||
|
||||
- name: link-validation
|
||||
image: thegeeklab/link-validator
|
||||
commands:
|
||||
- link-validator -ro
|
||||
environment:
|
||||
LINK_VALIDATOR_BASE_DIR: docs/public
|
||||
|
||||
- name: build
|
||||
image: thegeeklab/hugo:0.83.1
|
||||
commands:
|
||||
- hugo -s docs/
|
||||
|
||||
- name: beautify
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm install -g js-beautify
|
||||
- html-beautify -r -f 'docs/public/**/*.html'
|
||||
environment:
|
||||
FORCE_COLOR: true
|
||||
NPM_CONFIG_LOGLEVEL: error
|
||||
|
||||
- name: publish
|
||||
image: plugins/s3-sync
|
||||
settings:
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
bucket: geekdocs
|
||||
delete: true
|
||||
endpoint: https://sp.rknet.org
|
||||
path_style: true
|
||||
secret_key:
|
||||
from_secret: s3_secret_access_key
|
||||
source: docs/public/
|
||||
strip_prefix: docs/public/
|
||||
target: /${DRONE_REPO_NAME}
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
@ -630,6 +585,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 791f2a668d1295b69cb7000c3a38b8e3ca15d99b1c8ac40559c71aa9456fc018
|
||||
hmac: b6ecc59cd94c224bbd990f1d6be90ec6c28e8faf121b37c56f47fa9befb77ad8
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user