Skip to content

Commit

Permalink
move-distro-resources-1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Chmielnik committed Mar 7, 2024
1 parent b309a16 commit 052a768
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_site.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Website eoed-docs.eliatra.com
name: Publish Website

on:
workflow_dispatch:
Expand All @@ -9,6 +9,7 @@ on:

env:
WEBSITE_URL: 'test.eliatra.com'


jobs:
setup:
Expand Down Expand Up @@ -74,7 +75,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/opendistro/html/$WEBSITE_VERSION; mirror --reverse --parallel=20 --verbose _site/ /var/www/${{ env.WEBSITE_URL }}/html/$WEBSITE_VERSION/; quit" sftp://52.30.226.239
lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mkdir -p /var/www/opendistro/html/$WEBSITE_VERSION; mirror --reverse --parallel=20 --verbose _site/ /var/www/opendistro/html/$WEBSITE_VERSION/; quit" sftp://52.30.226.239
post_deploy:
needs: deploy
Expand Down

0 comments on commit 052a768

Please sign in to comment.