Skip to content

fix: buildind yml

fix: buildind yml #10

Workflow file for this run

name: Deployement
on:
push:
branches:
- devops
jobs:
build:
runs-on: ubuntu-latest
container:
image: 'djelale/assistme:1.0.0'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install and build client
run: |
cd client
npm install
npm run build
- name: Install and build server
run: |
cd server
npm install
npm run build
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Render
run: |

Check failure on line 35 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deployement

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 35, Col: 14): Unexpected symbol: '"cs97c968ii6s73ev820g"'. Located at position 1 within expression: "cs97c968ii6s73ev820g"
echo "Deploying to Render..."
curl -X POST "https://api.render.com/v1/services/${{ "cs97c968ii6s73ev820g" }}/deploys" \
-H "Authorization: Bearer ${{ "rnd_jVLom5W5VJCXweycehqwPCUBoDnk" }}" \
-H "Content-Type: application/json" \
-d '{"clearCache": false}'