Commit c97f217d authored by Millicent Billette's avatar Millicent Billette

Add new file

parent 571d4584
Pipeline #31887 failed with stages
in 31 seconds
stages:
- build
- publish
variables:
PROJECT_NAME: g1.1000i100.fr/wot-wizard
build-public:
stage: build
image: 'tianon/wine'
script:
- wget https://github.com/duniter/WotWizard/releases/download/v2.0.1/WWServer.exe
- wget https://www.sqlite.org/2015/sqlite-dll-win32-x86-3081002.zip
- unzip sqlite*
- wget https://g1.1000i100.fr/duniter.db
- wine WWServer.exe
artifacts:
name: '${PROJECT_NAME}_${CI_COMMIT_REF_NAME}'
paths:
- ./
expire_in: 60 minutes
server-1:
stage: publish
image: liaohuqiu/rsync
cache:
untracked: true
key: $CI_JOB_NAME
before_script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- >-
[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >
~/.ssh/config
script:
- >-
rsync -az -e ssh ./
gammanu@1000i100.fr:~/${PROJECT_NAME}
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment