Skip to content

Commit

Permalink
Merge pull request #116 from Trycatch-tv/dev
Browse files Browse the repository at this point in the history
.
  • Loading branch information
judlup authored Jun 6, 2024
2 parents 3d809b1 + 9c82e39 commit 1641e32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
env:
SSHPASS: ${{ secrets.EC2_KEY }}
run: |
sshpass -e ssh -o StrictHostKeyChecking=no ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF'
export NODE_ENV=dev
sshpass -e ssh -o StrictHostKeyChecking=no ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF'
# Clonar el repositorio en una ruta específica
git clone https://github.com/Trycatch-tv/ValidadorBootcamp-backend /home/${{ secrets.EC2_USER }}/app
Expand Down
2 changes: 1 addition & 1 deletion src/types/environment-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const environmentConfigSchema = Joi.object({
DATABASE_USER: Joi.string().required(),
DATABASE_PASSWORD: Joi.string().required(),
DATABASE_NAME: Joi.string().required(),
NODE_ENV: Joi.string().valid('dev', 'prod').required(),
NODE_ENV: Joi.string().valid('dev', 'production').required(),
FILE_SERVICE_URL: Joi.string().uri().required(),
REVIEW_SERVICE_URL: Joi.string().uri().required(),
BOOTCAMP_SERVICE_URL: Joi.string().uri().required(),
Expand Down

0 comments on commit 1641e32

Please sign in to comment.