parent
28a9966df7
commit
1b60aab14d
1 changed files with 18 additions and 0 deletions
18
.woodpecker.yml
Normal file
18
.woodpecker.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
pipeline:
|
||||
build-and-upload-sitio:
|
||||
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/
|
||||
secrets:
|
||||
- ssh_key
|
Reference in a new issue