This commit is contained in:
parent
733ec2fb65
commit
9034739bfa
|
@ -0,0 +1,20 @@
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: docker.io/alpine:3.14
|
||||||
|
commands:
|
||||||
|
- apk add cmark
|
||||||
|
- ./build.sh
|
||||||
|
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 -
|
||||||
|
|
||||||
|
- ./upload.sh
|
||||||
|
when:
|
||||||
|
branch: ANTIFASCISTA
|
||||||
|
event: push
|
||||||
|
secrets:
|
||||||
|
- ssh_key
|
Reference in New Issue