Skip to content

maybe fix?

maybe fix? #5

Workflow file for this run

name: Shipp it baby
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
cache-dependency-path: react-demo/package-lock.json
- name: Install dependencies
if: steps.gimme_cache.outputs.cache-hit == false
run: npm install
working-directory: "react-demo"
- name: Build 🔧
run: npm run build
working-directory: "react-demo"
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
working-directory: "react-demo"

Check failure on line 37 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Shipp it baby

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 37, Col: 9): Unexpected value 'working-directory'