Skip to content

Commit

Permalink
Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Chmielnik committed Feb 23, 2024
1 parent 850f432 commit 6daa1c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ on:
workflow_dispatch:
push:
branches:
- 1.3.x-ee
# - 1.3.x-ee
pull_request:

env:
WEBSITE_URL: 'eoed-docs.eliatra.com'
WEBSITE_VERSION: '1.x'

jobs:
setup:
Expand Down Expand Up @@ -67,7 +66,7 @@ jobs:
lftp --version
WEBSITE_VERSION=$(cat _site/_config.yml|grep "^opensearch_major_minor_version:"|cut -d ':' -f2| tr -d '[:blank:]')
echo "Start SFTP upload"
lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mkdir -p /var/www/${{ env.WEBSITE_URL }}/html/${{ env.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://${{ secrets.SFTP_SERVER }}
post_deploy:
needs: deploy
Expand Down

0 comments on commit 6daa1c8

Please sign in to comment.