64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
steps:
|
|
- name: version
|
|
image: alpine
|
|
commands:
|
|
- apk add --no-cache git make jq
|
|
- make ci-version
|
|
|
|
- name: export
|
|
image: alpine
|
|
commands:
|
|
- apk add --no-cache zip make
|
|
- make ci-export
|
|
|
|
- name: export-web
|
|
image: alpine
|
|
commands:
|
|
- apk add --no-cache zip make curl unzip
|
|
- make ci-export-web
|
|
|
|
- name: upload
|
|
image: alpine
|
|
environment:
|
|
DROPAREA_HOST: vps.teletype.hu
|
|
DROPAREA_PORT: 2223
|
|
DROPAREA_TARGET_PATH: /home/drop
|
|
DROPAREA_USER: drop
|
|
DROPAREA_SSH_PASSWORD:
|
|
from_secret: droparea_ssh_password
|
|
commands:
|
|
- apk add --no-cache make openssh-client sshpass
|
|
- make ci-upload
|
|
|
|
- name: upload-web
|
|
image: alpine
|
|
environment:
|
|
DROPAREA_HOST: vps.teletype.hu
|
|
DROPAREA_PORT: 2223
|
|
DROPAREA_TARGET_PATH: /home/drop
|
|
DROPAREA_USER: drop
|
|
DROPAREA_SSH_PASSWORD:
|
|
from_secret: droparea_ssh_password
|
|
commands:
|
|
- apk add --no-cache make openssh-client sshpass
|
|
- make ci-upload-web
|
|
|
|
- name: update
|
|
image: alpine
|
|
environment:
|
|
UPDATE_SERVER: https://games.vps.teletype.hu
|
|
UPDATE_SECRET:
|
|
from_secret: update_secret_key
|
|
commands:
|
|
- apk add --no-cache make curl
|
|
- make ci-update
|
|
|
|
- name: update-web
|
|
image: alpine
|
|
environment:
|
|
UPDATE_SERVER: https://games.vps.teletype.hu
|
|
UPDATE_SECRET:
|
|
from_secret: update_secret_key
|
|
commands:
|
|
- apk add --no-cache make curl
|
|
- make ci-update-web |