Skip to content

Commit

Permalink
Fix regexp for location
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Chmielnik committed Feb 28, 2024
1 parent 6197146 commit a7cb623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:

env:
WEBSITE_URL: 'eoed-docs.eliatra.com'
WEBSITE_URL: 'test-eoed-docs.eliatra.com'

jobs:
setup:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7cb623

Please sign in to comment.