diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 155a82d..fe9b7e3 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -74,4 +74,16 @@ jobs: with: push: true tags: ${{ secrets.DOCKERHUB_TAG }} # Example: username/project:latest - context: . \ No newline at end of file + 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 \ No newline at end of file