forked from platypush/platypush
[CI/CD] Just remove the sync-stable-branch step.
This commit is contained in:
parent
cc670f9d4a
commit
bef027fc07
2 changed files with 0 additions and 42 deletions
23
.drone.yml
23
.drone.yml
|
@ -29,29 +29,6 @@ steps:
|
|||
commands:
|
||||
- . .drone/github-mirror.sh
|
||||
|
||||
###
|
||||
### Synchronize the `stable` branch to the new release
|
||||
###
|
||||
|
||||
- name: sync-stable-branch
|
||||
image: alpine
|
||||
environment:
|
||||
SSH_PUBKEY:
|
||||
from_secret: ssh_pubkey
|
||||
SSH_PRIVKEY:
|
||||
from_secret: ssh_privkey
|
||||
PGP_KEY:
|
||||
from_secret: pgp_key
|
||||
PGP_KEY_ID:
|
||||
from_secret: pgp_key_id
|
||||
|
||||
commands:
|
||||
- . .drone/sync-stable-branch.sh
|
||||
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
###
|
||||
### Rebuild the docs
|
||||
###
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. .drone/macros/configure-git.sh
|
||||
. .drone/macros/configure-ssh.sh
|
||||
. .drone/macros/configure-gpg.sh
|
||||
|
||||
# Git configuration
|
||||
git remote rm origin
|
||||
git remote add origin git@git.platypush.tech:platypush/platypush.git
|
||||
git fetch origin
|
||||
|
||||
# Merge and push to the `stable` branch
|
||||
git checkout stable || git checkout -b stable
|
||||
git rebase master
|
||||
git push -u origin stable
|
||||
git checkout master
|
||||
|
||||
# Restore the original git configuration
|
||||
mv "$TMP_GIT_CONF" "$GIT_CONF"
|
Loading…
Reference in a new issue