temp remove git branch publishing step
This commit is contained in:
parent
d37d217a78
commit
8e11973364
@ -159,28 +159,6 @@ local PipelineBuild = {
|
|||||||
'prettier -w CHANGELOG.md',
|
'prettier -w CHANGELOG.md',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'publish-branch',
|
|
||||||
image: 'thegeeklab/drone-git-action',
|
|
||||||
settings: {
|
|
||||||
action: [
|
|
||||||
'pages',
|
|
||||||
],
|
|
||||||
author_email: 'shipper@rknet.org',
|
|
||||||
author_name: 'shipper',
|
|
||||||
branch: '${DRONE_TAG##v}',
|
|
||||||
message: 'push to release branch',
|
|
||||||
netrc_machine: 'gitea.rknet.org',
|
|
||||||
netrc_password: {
|
|
||||||
from_secret: 'gitea_token',
|
|
||||||
},
|
|
||||||
pages_directory: 'dist/',
|
|
||||||
remote_url: 'https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}',
|
|
||||||
},
|
|
||||||
when: {
|
|
||||||
ref: ['refs/tags/**'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'publish-gitea',
|
name: 'publish-gitea',
|
||||||
image: 'plugins/gitea-release',
|
image: 'plugins/gitea-release',
|
||||||
|
20
.drone.yml
20
.drone.yml
@ -190,24 +190,6 @@ steps:
|
|||||||
- prettier CHANGELOG.md
|
- prettier CHANGELOG.md
|
||||||
- prettier -w CHANGELOG.md
|
- prettier -w CHANGELOG.md
|
||||||
|
|
||||||
- name: publish-branch
|
|
||||||
image: thegeeklab/drone-git-action
|
|
||||||
settings:
|
|
||||||
action:
|
|
||||||
- pages
|
|
||||||
author_email: shipper@rknet.org
|
|
||||||
author_name: shipper
|
|
||||||
branch: ${DRONE_TAG##v}
|
|
||||||
message: push to release branch
|
|
||||||
netrc_machine: gitea.rknet.org
|
|
||||||
netrc_password:
|
|
||||||
from_secret: gitea_token
|
|
||||||
pages_directory: dist/
|
|
||||||
remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/**
|
|
||||||
|
|
||||||
- name: publish-gitea
|
- name: publish-gitea
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
@ -300,6 +282,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: c06824306d3dc8eb1dee7bf5ffa5e00408498795f5967d0b93f93ea088e24d6a
|
hmac: 15e594a6375a31faf1edde6398fed9db285688296d920f2c8b5acc637efb1ec4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user