Skip to content

Initial workflow setup #1

Initial workflow setup

Initial workflow setup #1

Workflow file for this run

name: Build, Test, and Deploy for Dev Branch
on:
push:
branch:
- dev
jobs:
build:
runs-on: self hosted
defaults:
run:
working-directory: /var/www/aihomework/dev
steps:
- name: Pull from github
id: pull

Check failure on line 17 in .github/workflows/dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dev.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
run: |
git pull origin dev
- name: install dependencies
run: yarn install
- name: buld the dist
run: yarn build
# test:
# -name: Run test
# run: yarn jest
# deploy:
# runs-on: self-hosted
# needs: build
# if: github.ref == 'refs/heads/dev'
# steps:
# - name: Install dependencies
# run: yarn install