Skip to content

Commit

Permalink
Merge pull request #725 from devinit/fix/cd-timeout
Browse files Browse the repository at this point in the history
Fix/cd timeout
  • Loading branch information
edwinmp authored Jun 22, 2022
2 parents f63d0ab + eae7620 commit 0da43b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ jobs:
username: ${{ env.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
command_timeout: 30m
script: |
chmod 700 "deploy_script.sh"
./deploy_script.sh
Expand All @@ -173,6 +174,7 @@ jobs:
username: ${{ env.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
command_timeout: 30m
script: |
version=$(echo ${{ steps.get_version.outputs.VERSION }} | cut -c 2-)
export SITE_URL=${{ env.SITE_URL }}
Expand All @@ -188,6 +190,7 @@ jobs:
username: ${{ env.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
command_timeout: 30m
script: |
version=$(echo ${{ steps.get_version.outputs.VERSION }} | cut -c 2-)
export SITE_URL=${{ env.SITE_URL }}
Expand All @@ -202,6 +205,7 @@ jobs:
username: ${{ env.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
command_timeout: 30m
script: |
cd ~/ddw-analyst-ui
npm -v
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
- ddw_net

celery:
build: .
image: ddw-analyst-ui_web:latest
command: celery -A ddw_analyst_ui worker -l info
depends_on:
- web
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
- ddw_net

celery:
build: .
image: ddw-analyst-ui_web:latest
command: celery -A ddw_analyst_ui worker -l info
depends_on:
- web
Expand Down

0 comments on commit 0da43b3

Please sign in to comment.