From 0c7fcd24a396fa30ce248daecd823704faffb287 Mon Sep 17 00:00:00 2001 From: Sebastian Wieland Date: Sun, 19 Dec 2021 10:41:51 +0100 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5c20f9..b7891cf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - name: Rsync to Onion - uses: oktupol/rsync-onion@v0.2.0 + uses: oktupol/rsync-onion@v0.2.1 with: source_dir: ./dist/ destination_dir: /var/www/htdocs @@ -29,6 +29,8 @@ jobs: onion_host: ${{ secrets.ONION_HOST }} onion_client_auth_privatekey: ${{ secret.ONION_CLIENT_AUTH_PRIVATEKEY}} delete: true + before_rsync_command: 'systemctl myapplication stop' + after_rsync_command: 'systemctl myapplication start' ``` ## Input variables: