36 lines
820 B
YAML
36 lines
820 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: Download concessions
|
|
image: python:alpine
|
|
environment:
|
|
COOKIE:
|
|
from_secret: cookie
|
|
commands:
|
|
- apk update && apk add wget jq tar gzip bash util-linux
|
|
- pip3 install csvkit
|
|
- cd scripts
|
|
- chmod +x ./*.sh
|
|
- ./concessions.sh
|
|
- name: Download calls
|
|
image: python:alpine
|
|
environment:
|
|
COOKIE:
|
|
from_secret: cookie
|
|
commands:
|
|
- apk update && apk add wget jq tar gzip bash util-linux
|
|
- cd scripts
|
|
- chmod +x ./*.sh
|
|
- ./calls.sh
|
|
- name: Release data
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: api_key
|
|
base_url: https://git.cuernodehipnos.es
|
|
files: ./*.tar.gz
|
|
depends_on:
|
|
- Download concessions
|
|
- Download calls
|