I'm trying to deploy a subdirectory of my repo to netlify, client, and it's not working, the GitHub action actually succeeds but the netlify deploy log says "No build command found, continuing to publishing",
my yml file:
defaults:
run:
working-directory: client
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14.10.1
- name: install client dependencies
run: npm ci
working-directory: client
- run: npm run build
working-directory: client
- name: Netlify Deploy
uses: netlify/actions/build@master
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DIR: build
I've also changed it to
NETLIFY_BASE: client
NETLIFY_CMD: npm build
NETLIFY_DIR: client/build
and same thing