This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y rsync
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
@@ -0,0 +1,3 @@
|
||||
name: 'rsync wiki files'
|
||||
description: 'custom gitea action for rsync wiki files'
|
||||
author: 'ludal'
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/rsync -avz --delete /workspace/ludal/wiki/_site/ rsync://192.168.1.9/wiki/
|
||||
Reference in New Issue
Block a user