This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
sitio/.woodpecker.yml

25 lines
801 B
YAML
Raw Normal View History

2021-10-09 01:36:33 +00:00
pipeline:
2021-10-09 01:36:54 +00:00
build:
2022-07-07 21:05:15 +00:00
image: docker.io/alpine:3.16
2021-10-09 01:36:54 +00:00
commands:
- apk add cmark git cmd:setup-timezone lua5.1
2021-10-09 01:45:34 +00:00
# Para generar las fechas bien
2021-10-09 02:03:15 +00:00
- setup-timezone -z America/Argentina/Buenos_Aires
2022-02-09 02:30:20 +00:00
- base_uri=https://nulo.in/ ./build.sh
2021-10-09 01:36:54 +00:00
deploy:
image: docker.io/alpine:3.14
commands:
- apk add rsync openssh-client-default
2021-10-09 01:36:33 +00:00
2021-10-09 01:36:54 +00:00
- eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
2021-10-09 01:43:09 +00:00
- mkdir -p ~/.ssh
- echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts
2021-10-09 01:36:33 +00:00
2021-10-09 01:36:54 +00:00
- ./upload.sh
when:
branch: ANTIFASCISTA
event: push
secrets:
- ssh_key