pull before push
Diablo 4 Armory / Sync with d4armory.io (push) Failing after 1m14s
Details
Diablo 4 Armory / Sync with d4armory.io (push) Failing after 1m14s
Details
This commit is contained in:
parent
3b5c9a9861
commit
8074c788f1
58
.drone.yml
58
.drone.yml
|
@ -1,58 +0,0 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: d4armory
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- custom
|
||||
- cron
|
||||
|
||||
clone:
|
||||
depth: 1
|
||||
|
||||
steps:
|
||||
- name: sync with d4armory.io
|
||||
image: git.goatpr0n.de/jpk/d4armorystash:0.3.2
|
||||
environment:
|
||||
D4ARMORY_ENV: 'prod'
|
||||
D4ARMORY_LOG_LEVEL: 'info'
|
||||
D4ARMORY_MONGODB_HOSTNAME: 'db.lan.dingsi.net'
|
||||
D4ARMORY_MONGODB_DATABASE: 'd4armory'
|
||||
D4ARMORY_MONGODB_USERNAME:
|
||||
from_secret: D4ARMORY_MONGODB_USERNAME
|
||||
D4ARMORY_MONGODB_PASSWORD:
|
||||
from_secret: D4ARMORY_MONGODB_PASSWORD
|
||||
D4ARMORY_MONGODB_AUTHSOURCE:
|
||||
from_secret: D4ARMORY_MONGODB_AUTHSOURCE
|
||||
commands:
|
||||
- d4armory fetch armory
|
||||
- d4armory fetch clan
|
||||
- d4armory evaluate armory
|
||||
#- d4armory evaluate clan
|
||||
|
||||
- name: archive old data
|
||||
image: git.goatpr0n.de/jpk/d4armorystash:0.3.2
|
||||
environment:
|
||||
D4ARMORY_ENV: 'prod'
|
||||
D4ARMORY_LOG_LEVEL: 'info'
|
||||
D4ARMORY_MONGODB_HOSTNAME: 'db.lan.dingsi.net'
|
||||
D4ARMORY_MONGODB_DATABASE: 'd4armory'
|
||||
D4ARMORY_MONGODB_USERNAME:
|
||||
from_secret: D4ARMORY_MONGODB_USERNAME
|
||||
D4ARMORY_MONGODB_PASSWORD:
|
||||
from_secret: D4ARMORY_MONGODB_PASSWORD
|
||||
D4ARMORY_MONGODB_AUTHSOURCE:
|
||||
from_secret: D4ARMORY_MONGODB_AUTHSOURCE
|
||||
commands:
|
||||
- d4armory archive armory
|
||||
- d4armory archive clan
|
||||
|
||||
- name: push updates
|
||||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
branch: ${DRONE_BRANCH}
|
||||
remote: ssh+git://git@git.goatpr0n.de:29418/games/d4armory-data.git
|
||||
author_name: Drone CI Pipeline
|
||||
author_email: drone-ci@pipeline
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
|
@ -39,4 +39,5 @@ jobs:
|
|||
run: |
|
||||
git config --global user.name "${{ gitea.actor }}"
|
||||
git config --global user.email "noreply@localhost.local"
|
||||
git pull
|
||||
git push origin HEAD:master
|
||||
|
|
Loading…
Reference in New Issue