schreiben/.woodpecker.yml

30 lines
784 B
YAML
Raw Permalink Normal View History

2023-03-26 01:03:07 +00:00
pipeline:
2023-05-11 21:19:03 +00:00
deps:
2023-05-11 21:30:41 +00:00
image: gitea.nulo.in/nulo/super-image:3.18
2023-03-26 01:03:07 +00:00
commands:
- pnpm install
2023-05-11 21:19:03 +00:00
build:
2023-05-11 21:30:41 +00:00
image: gitea.nulo.in/nulo/super-image:3.18
2023-05-11 21:19:03 +00:00
group: build
commands:
2023-03-26 01:03:07 +00:00
- pnpm build
2023-05-11 21:19:03 +00:00
check:
2023-05-11 21:30:41 +00:00
image: gitea.nulo.in/nulo/super-image:3.18
2023-05-11 21:19:03 +00:00
group: build
commands:
- pnpm check
upload:
2023-05-11 21:30:41 +00:00
image: gitea.nulo.in/nulo/super-image:3.18
2023-05-11 21:19:03 +00:00
commands:
2023-03-26 01:03:07 +00:00
- |
eval $(ssh-agent -s)
echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
mkdir -p ~/.ssh
2023-07-10 16:05:01 +00:00
echo "[nulo.ar]:2223 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEQEuHNIWQcS5La6lc2OvHQxZN6tRVtkts2wH1tfpola" > ~/.ssh/known_hosts
2023-03-26 01:03:07 +00:00
2023-07-10 16:05:01 +00:00
- scp -rP2223 dist/* root@nulo.ar:/data/beta_schreiben_nulo_ar/
2023-03-26 01:03:07 +00:00
when:
branch: antifascista
event: push
secrets:
- ssh_key