mirror of
https://git.darmstadt.ccc.de/cda/rcda.git
synced 2024-11-21 23:39:13 +01:00
.drone.yml: Added remote Deployment to https://public.litschi.xyz/w17/w17.json
This commit is contained in:
parent
06b0c20bbf
commit
7436231634
1 changed files with 29 additions and 0 deletions
29
.drone.yml
Normal file
29
.drone.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
---
|
||||||
|
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
|
Loading…
Reference in a new issue