lpk-website

Lillehammer pistolklubb website
git clone https://git.echoz.io/lpk-website.git
Log | Files | Refs | README | LICENSE

commit 7a855a4438b599ed711f0a3f4435caaed74ed74d
parent 0592408d27a19d883eec6bcec241260bb346c11a
Author: Echoz <github@echoz.io>
Date:   Thu,  7 Dec 2023 21:35:36 +0100

ci: use separate path and ssh host
Diffstat:
M.github/workflows/deploy.yaml | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml @@ -16,9 +16,8 @@ jobs: - shell: bash run: | set -e - echo "${{ secrets.SSH_TARGET }}" | grep -o '^[^:]*' id_rsa=$(mktemp) chmod 600 $id_rsa echo "${{ secrets.SSH_KEY }}" > $id_rsa - rsync --delete -vre "ssh -i $id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" ./public/ "${{ secrets.SSH_TARGET }}" + rsync --delete -vre "ssh -i $id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" ./public/ "${{ secrets.SSH_TARGET }}:${{ secrets.SSH_WEBROOT }}" ssh -i $id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${{ secrets.SSH_TARGET }}" cache-purge \ No newline at end of file