3
0
Fork 1
mirror of https://git.darmstadt.ccc.de/cda/rcda.git synced 2024-04-30 11:10:51 +02:00
chaos-darmstadt-rcda/.drone.yml

29 lines
529 B
YAML

---
kind: pipeline
type: docker
name: w17 remote Deployment
platform:
os: linux
arch: amd64
steps:
- name: build
image: nixos/nix
volumes:
- name: public
path: /public
enviroment:
commands:
- export QT_QPA_PLATFORM="offscreen"
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d)/"
- rm -rf /public/*
- cp -R imgs /public/imgs
- cp w17.tmx /public
- cd /public
- nix run nixpkgs.tiled -c tiled --export-map json w17.tmx w17.json
volumes:
- name: public
host:
path: /var/www/public/w17