Skip to content

Commit

Permalink
Setting for test server
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Chmielnik committed Feb 20, 2024
1 parent 5ffce78 commit 789b121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 test-eoed-docs.eliatra.com

on:
workflow_dispatch:
Expand All @@ -7,7 +7,7 @@ on:
pull_request:

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

jobs:
setup:
Expand Down Expand Up @@ -61,7 +61,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/; quit" sftp://52.30.226.239
post_deploy:
needs: deploy
Expand Down

0 comments on commit 789b121

Please sign in to comment.