From bc4c2af04c49365128de1fc4086ac3621b6ff3bf Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 17 Jul 2023 16:26:53 -0300 Subject: [PATCH] ci --- .woodpecker.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..ec4b456 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,24 @@ +pipeline: + build-and-upload-sitio: + group: build + image: gitea.nulo.in/nulo/super-image:3.18 + commands: + - pnpm install + - ./tool check + - ./tool refresh_feeds + - ./tool build + + - | + eval $(ssh-agent -s) + echo "$${SSH_KEY}" | tr -d '\r' | ssh-add - + mkdir -p ~/.ssh + echo "[dorsiblanco.nulo.in]:2224 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQEuHNIWQcS5La6lc2OvHQxZN6tRVtkts2wH1tfpola root@853c93d633a9" > ~/.ssh/known_hosts + + - rsync --rsh='ssh -p2223' --recursive --chmod=644 build/ root@dorsiblanco.nulo.in:/data/nulo_ar/ + when: + branch: megustaelarte + event: push + path: + include: ["sitio/**", ".woodpecker/sitio.yml", "shared/**"] + secrets: + - ssh_key