mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 20:50:40 +00:00
first draft to test lhci report uploading
This commit is contained in:
parent
0b96055d68
commit
67bb9b5d0d
21
.drone.yml
21
.drone.yml
@ -36,10 +36,25 @@ steps:
|
||||
LINK_VALIDATOR_BASE_DIR: exampleSite/public
|
||||
|
||||
- name: page-validation
|
||||
image: patrickhulce/lhci-client
|
||||
user: root
|
||||
image: xoxys/lhci
|
||||
commands:
|
||||
- lhci autorun
|
||||
environment:
|
||||
LHCI_SERVER_URL: https://example.com/${DRONE_REPO_NAME}/
|
||||
|
||||
- name: page-validation-upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
bucket: drone-artifact
|
||||
endpoint: https://sp.rknet.org
|
||||
path_style: true
|
||||
secret_key:
|
||||
from_secret: s3_secret_access_key
|
||||
source: lhci_reports/dist/
|
||||
strip_prefix: lhci_reports/dist/
|
||||
target: /${DRONE_REPO_NAME}
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -216,6 +231,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 12880ca35134fefa3baf9363fa7484c28dc6c3e9fda2d2c5054de95364fbf9e1
|
||||
hmac: 28fffd7ae5434a2cb6369b8a240ee9fc14d02998fc06c7ac3e3ab9a1e3313b05
|
||||
|
||||
...
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
dist/
|
||||
tmp/
|
||||
node_modules/
|
||||
lhci_reports/
|
||||
exampleSite/themes/
|
||||
exampleSite/public/
|
||||
|
||||
|
@ -18,3 +18,6 @@ ci:
|
||||
first-contentful-paint: off
|
||||
first-meaningful-paint: off
|
||||
largest-contentful-paint: off
|
||||
upload:
|
||||
target: filesystem
|
||||
outputDir: lhci_reports
|
||||
|
Loading…
Reference in New Issue
Block a user