Skip to content

Commit

Permalink
Deploy version 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Chmielnik committed Feb 22, 2024
1 parent 6aa41d4 commit d91916f
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
Expand Up @@ -3,11 +3,12 @@ name: Publish Website eoed-docs.eliatra.com
on:
workflow_dispatch:
push:
- 2.11.x-ee
# - 2.11.x-ee
pull_request:

env:
WEBSITE_URL: 'eoed-docs.eliatra.com'
WEBSITE_VERSION: '1.3'

jobs:
setup:
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
sudo apt install lftp -y
lftp --version
echo "Start SFTP upload"
lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mirror --reverse --parallel=20 --verbose _site/ /var/www/${{ env.WEBSITE_URL }}/html/; quit" sftp://${{ secrets.SFTP_SERVER }}
lftp -u ${{ secrets.SFTP_USERNAME }}, -e "set sftp:connect-program 'ssh -a -x -o StrictHostKeyChecking=no'; mirror --reverse --parallel=20 --verbose _site/ /var/www/${{ env.WEBSITE_URL }}/html/${{ env.WEBSITE_VERSION }}; quit" sftp://${{ secrets.SFTP_SERVER }}
post_deploy:
needs: deploy
Expand Down

0 comments on commit d91916f

Please sign in to comment.