CI begone

This commit is contained in:
Cat /dev/Nulo 2023-04-30 16:24:10 -03:00
parent 0fa9d468db
commit 2e99e24da3
2 changed files with 0 additions and 36 deletions

View file

@ -1,34 +0,0 @@
pipeline:
build-image:
image: docker.io/woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
registry: https://gitea.nulo.in
username: Nulo
repo: gitea.nulo.in/nulo/sitio-build
dockerfile: tooling/Containerfile
when:
path:
include: ["tooling/*", ".woodpecker.yml"]
build:
image: gitea.nulo.in/nulo/sitio-build:latest
pull: true
commands:
- pnpm install
- ./tool refresh_feeds
- ./tool check
- ./tool build
- |
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
when:
branch: ANTIFASCISTA
event: push
secrets:
- ssh_key

2
upload
View file

@ -1,2 +0,0 @@
#!/bin/sh
rsync --rsh='ssh -p420' --recursive --chmod=644 build/ ci-nulo-in@nulo.in:/var/www/nulo.ar/