18 lines
No EOL
521 B
YAML
18 lines
No EOL
521 B
YAML
pipeline:
|
|
build:
|
|
image: python:3-alpine
|
|
commands:
|
|
- apk add openssh
|
|
- echo "$${SSH_SECRET_KEY}" > SSH_SECRET_KEY
|
|
- chmod 600 SSH_SECRET_KEY
|
|
|
|
- pip install poetry
|
|
- poetry install
|
|
- poetry run jupyter nbconvert --to markdown --no-input summary.ipynb
|
|
|
|
- git clone ssh://git@git.mzhang.io:2222/michael/ddr-scores.wiki.git
|
|
- cp summary.md ddr-scores.wiki/Stats.md
|
|
- (cd ddr-scores.wiki; git add . -A; git commit -m update; git push)
|
|
|
|
when:
|
|
event: push |