omg, env CI

This commit is contained in:
Matěj Divecký 2023-05-29 19:54:36 +02:00
parent d0da194059
commit 8456e4e002

View file

@ -1,6 +1,9 @@
pipeline: pipeline:
build: build:
image: python:latest image: python:latest
secrets:
- PUBLIC_ICAL_URL
- PRIVATE_ICAL_URL
commands: commands:
- pip install -r ./requirements.txt - pip install -r ./requirements.txt
- mkdir output - mkdir output
@ -12,12 +15,8 @@ pipeline:
event: push event: push
branch: master branch: master
secrets: secrets:
- PUBLIC_ICAL_URL
- PRIVATE_ICAL_URL
- BOT_PRIVATE_KEY - BOT_PRIVATE_KEY
commands: commands:
- export PUBLIC_ICAL_URL=${PUBLIC_ICAL_URL}
- export PRIVATE_ICAL_URL=${PRIVATE_ICAL_URL}
- apk add openssh-client - apk add openssh-client
- mkdir -p $HOME/.ssh - mkdir -p $HOME/.ssh
- ssh-keyscan -t rsa intrawiki.nolog.cz >> $HOME/.ssh/known_hosts - ssh-keyscan -t rsa intrawiki.nolog.cz >> $HOME/.ssh/known_hosts