Skip to content

Commit

Permalink
Refactor deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
binos30 committed Jul 21, 2024
1 parent e558dc4 commit 54b4593
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ jobs:
runs-on: ubuntu-latest
needs: [scan_ruby, lint, test]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Deploy to Render
env:
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: curl "$deploy_url"
uses: JorgeLNJunior/render-deploy@v1.4.4
with:
service_id: ${{ secrets.RENDER_SERVICE_ID }}
api_key: ${{ secrets.RENDER_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
wait_deploy: true

0 comments on commit 54b4593

Please sign in to comment.