Skip to content

Deploy

Deploy #8

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: ["CI with Maven"]
branches: [main]
types:
- completed
jobs:
on-success:
runs-on: ubuntu-latest
permissions:
deployments: write
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: JorgeLNJunior/render-deploy@v1.4.5
with:
service_id: ${{ secrets.RENDER_SERVICE_ID }}
api_key: ${{ secrets.RENDER_API_KEY }}
wait_deploy: true
github_deployment: true
deployment_environment: 'production'
github_token: ${{ secrets.GITHUB_TOKEN }}