Skip to content

Commit

Permalink
fix(ci): ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
micheledinelli authored Oct 20, 2024
1 parent 63dda53 commit 6433913
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test
run: |
npm install
npm run test
- 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"
curl "$deploy_url"

0 comments on commit 6433913

Please sign in to comment.