Skip to content

Arreglado error yml

Arreglado error yml #3

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
-main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
- name: Checkout
uses: actions/checkout@v3
- name: Install frontend packages
working-directory: ./frontend
run: npm ci
- name: Build frontend
working-directory: ./frontend
run: npm run build
- name: Disable Jekyll
run: echo "" > ./frontend/dist/.nojekyll
- name: Deploy frontend
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
folder: frontend/dist
clean: true
- name: Install backend packages
working-directory: ./backend
run: npm ci