Skip to content

Commit

Permalink
Feat: Application completed
Browse files Browse the repository at this point in the history
  • Loading branch information
STEPHEN authored and STEPHEN committed Dec 31, 2023
1 parent 692bc5f commit d7d4b0e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ jobs:
SESSION_LIFETIME=120
EOF
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build and push Docker image
run: |
docker build -t steph-news-aggregator
docker tag steph-news-aggregator ${{ secrets.DOCKERHUB_USERNAME }}/steph-news-aggregator
docker push ${{ secrets.DOCKERHUB_USERNAME }}/steph-news-aggregator
- name: Install dependencies on app
run: |
cd backend && docker-compose up -d \
Expand All @@ -54,4 +61,6 @@ jobs:
-e DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
-e DB_PORT=${{ secrets.DB_PORT }} \
-e DB_HOST=${{ secrets.DB_HOST }} \
- name: Deploy to Render
run: |
render deploy -- --useDockerfile

0 comments on commit d7d4b0e

Please sign in to comment.