Skip to content

Task/create a pull request #1

Task/create a pull request

Task/create a pull request #1

name: Render Deployment
on:
push:
branches:
- master
# note that your "main" branch might be called main instead of master
pull_request:
branches: [master]
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run build
run: echo "Building the project..."

Check failure on line 19 in .github/workflows/drender_deployment.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/drender_deployment.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
deploy:
runs-on: ubuntu-latest
needs: build
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
- name: Deploy to Render
run: echo "Deploying the project..."
- name: Trigger deployment
run: curl https://api.render.com/deploy/srv-${{ secrets.RENDER_SERVICE_ID }}?key=${{ secrets.RENDER_API_KEY }}