Skip to content

Commit

Permalink
Fix: JS CDN connection timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Aug 20, 2021
1 parent a55156d commit 3c6a917
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ jobs:
target-folder: jsdist
clean: false
silent: false
- name: Install SSH key
run: |
mkdir ~/.ssh
chmod 700 ~/.ssh
echo "${{ secrets.CDN_AT_DOBISEL }}" > ~/.ssh/cdn_id_rsa
echo "${{ secrets.DOBISEL_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/cdn_id_rsa
- name: Deploy to Javascript files to CDN
run: scp -r -i ~/.ssh/cdn_id_rsa -o ConnectTimeout=25 -P ${{ secrets.DOBISEL_PORT }} build/jsdist/* cdn@${{ secrets.DOBISEL_ADDR }}:/var/www/cdn1/adia
# - name: Install SSH key
# run: |
# mkdir ~/.ssh
# chmod 700 ~/.ssh
# echo "${{ secrets.CDN_AT_DOBISEL }}" > ~/.ssh/cdn_id_rsa
# echo "${{ secrets.DOBISEL_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
# chmod 600 ~/.ssh/cdn_id_rsa
#
# - name: Deploy to Javascript files to CDN
# run: scp -r -i ~/.ssh/cdn_id_rsa -o ConnectTimeout=25 -P ${{ secrets.DOBISEL_PORT }} build/jsdist/* cdn@${{ secrets.DOBISEL_ADDR }}:/var/www/cdn1/adia

jsdist_index:
name: Create Javadcript distributions index
Expand Down
2 changes: 1 addition & 1 deletion adia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .renderer import Renderer


__version__ = '4.0.1'
__version__ = '4.0.2'
__all__ = [
'Diagram',
'SequenceDiagram',
Expand Down

0 comments on commit 3c6a917

Please sign in to comment.