mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
ci: remove insecure pr steps that requires secrets (#660)
This commit is contained in:
parent
c522d43505
commit
be5313bff7
40
.drone.yml
40
.drone.yml
@ -51,40 +51,6 @@ steps:
|
||||
environment:
|
||||
LHCI_SERVER_URL: https://drone-artifact.rknet.org/${DRONE_REPO_NAME}/
|
||||
|
||||
- name: page-validation-upload
|
||||
image: thegeeklab/drone-s3-sync:2
|
||||
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}
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
|
||||
- name: page-validation-link
|
||||
image: thegeeklab/drone-github-comment
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: github_token
|
||||
key: pr-${DRONE_PULL_REQUEST}
|
||||
message: lhci_reports/dist/summary.md
|
||||
skip_missing: true
|
||||
update: true
|
||||
when:
|
||||
ref:
|
||||
- refs/pull/**
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
@ -284,9 +250,3 @@ depends_on:
|
||||
- test
|
||||
- build
|
||||
- docs
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: d9f5b3d50cb882be86c8e4b17bce3efc17fd22118c74a2140f924a118fc76cda
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user