Skip to content

Commit

Permalink
Add automatic deploys on pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbrethorst committed Feb 5, 2024
1 parent a21ebbe commit 36469d9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .github/workflows/ci.yml

on:
pull_request:
push:
branches: [main]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy
# Only run this step if the branch is main
if: github.ref == 'refs/heads/main'
env:
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: |
curl "$deploy_url"

0 comments on commit 36469d9

Please sign in to comment.