Skip to content

Commit

Permalink
Add cd to render
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcell Dechant committed May 21, 2024
1 parent 8981be2 commit 0a29cf6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,16 @@ jobs:
with:
push: true
tags: ${{ secrets.DOCKERHUB_TAG }} # Example: username/project:latest
context: .
context: .

deploy:
name: deploy-to-render
runs-on: ubuntu-latest
needs: push-to-docker-hub
environment:
name: Capstone Project # Capstone Project name
url: https://neuefische.de/ # Link to deployment
steps:
- name: Trigger Render.com Deployment
run: |
curl -X POST ${{ secrets.RENDER_DEPLOY }} #muss mit der url des Render Deployments übereinstimmen

0 comments on commit 0a29cf6

Please sign in to comment.