Skip to content

Commit

Permalink
Fix: Add on Pull Request
Browse files Browse the repository at this point in the history
  • Loading branch information
ndahimana154 committed Dec 5, 2024
1 parent 5d0f8bc commit 95be1d5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Docker Build and Deploy

on:
push:
pull_request:
branches:
- develop

Expand All @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
env:
MONGO_PROD_DB: ${{ secrets.MONGO_PROD_DB }}
FRONTEND_LINK: "https://applications.devpulse.org"
NODE_ENV: "production"
FRONTEND_LINK: 'https://applications.devpulse.org'
NODE_ENV: 'production'
PUSHER_CLUSTER: ${{ secrets.PUSHER_CLUSTER }}
PUSHER_APP_ID: ${{ secrets.PUSHER_APP_ID }}
PUSHER_KEY: ${{ secrets.PUSHER_KEY }}
Expand All @@ -20,15 +20,13 @@ jobs:
API_KEY: ${{ secrets.API_KEY }}
API_KEYS: ${{ secrets.API_KEYS }}
SENDER_NAME: ${{ secrets.SENDER_NAME }}
PORT: ${{ secrets.PORT }}
PORT: ${{ secrets.PORT }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}


steps:
- name: Checkout code
uses: actions/checkout@v3


- name: Build and push Docker image
uses: mr-smithers-excellent/docker-build-push@v6
with:
Expand Down Expand Up @@ -80,4 +78,4 @@ jobs:
if [ -z "$output" ]; then
echo "Container failed to start"
exit 1
fi
fi

0 comments on commit 95be1d5

Please sign in to comment.