From a7cb623eef9e07fb7ae6c5d72af12d61c68d44ef Mon Sep 17 00:00:00 2001 From: Piotr Chmielnik Date: Wed, 28 Feb 2024 15:41:23 +0100 Subject: [PATCH] Fix regexp for location --- .github/workflows/publish_site.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_site.yml b/.github/workflows/publish_site.yml index 1aef20c8538..b190ad78135 100644 --- a/.github/workflows/publish_site.yml +++ b/.github/workflows/publish_site.yml @@ -8,7 +8,7 @@ on: pull_request: env: - WEBSITE_URL: 'eoed-docs.eliatra.com' + WEBSITE_URL: 'test-eoed-docs.eliatra.com' jobs: setup: @@ -74,7 +74,7 @@ jobs: exit 1 fi echo "Start SFTP upload version: $WEBSITE_VERSION" - lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mkdir -p /var/www/${{ env.WEBSITE_URL }}/html/$WEBSITE_VERSION; mirror --reverse --parallel=20 --verbose _site/ /var/www/${{ env.WEBSITE_URL }}/html/$WEBSITE_VERSION/; quit" sftp://${{ secrets.SFTP_SERVER }} + lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mkdir -p /var/www/${{ env.WEBSITE_URL }}/html/$WEBSITE_VERSION; mirror --reverse --parallel=20 --verbose _site/ /var/www/${{ env.WEBSITE_URL }}/html/$WEBSITE_VERSION/; quit" sftp://52.30.226.239 post_deploy: needs: deploy