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
Nulo ea51959ee8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci: Usar gcc
No funciona con clang ya que no provee `cc`
2022-07-16 21:56:30 -03:00

23 lines
792 B
YAML

pipeline:
build:
image: docker.io/alpine:edge
commands:
- echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
- apk add musl-dev cmark-dev lua5.1 zig gcc
- zig run compilar.zig -lc -lcmark
deploy:
image: docker.io/alpine:3.14
commands:
- apk add rsync openssh-client-default
- eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts
- ./upload.sh
when:
branch: ANTIFASCISTA
event: push
secrets:
- ssh_key