Skip to content

Workflow changed

Workflow changed #6

Workflow file for this run

name: Create new build
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Remove Previous build
run: rm -rf ./build
- name: Install dependencies
run: npm install
working-directory: ./

Check failure on line 21 in .github/workflows/pull.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Build app
run: |
CI=false npm run build
working-directory: ./
- name: Commit changes
run: |
git config --global user.name 'CS50X-RGB'
git config --global user.email '[email protected]'
git add .
git diff-index --quiet HEAD || git commit -m "Build new version for the production"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}