Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Atallah0 authored Nov 13, 2023
1 parent 74eba2d commit 893b482
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ jobs:
chmod +x render
sudo mv render /usr/local/bin/
- name: Update Render Deployment
id: update
- name: Deploy to Render
run: |
DEPLOYMENT_ID="43ca597" ./node_modules/.bin/render update $DEPLOYMENT_ID \
--image atillah0/backend-final-4-app:latest \
--env-file .env
env:
DEPLOYMENT_ID: ${{ secrets.RENDER_DEPLOYMENT_ID }}
render login --api-key ${{ secrets.RENDER_TOKEN }}
render deploy --image atallah0/backend-final-4-app:${{ steps.meta.outputs.tags }} --config docker-compose.app.yaml --engine none

0 comments on commit 893b482

Please sign in to comment.