Skip to content

Update working directory in deploy #30

Update working directory in deploy

Update working directory in deploy #30

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Blur site 🌫️
uses: blurry-dev/[email protected]
working-directory: ./docs

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

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 18, Col: 9): Unexpected value 'working-directory'
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: ${{ github.workspace }}docs/dist
production-branch: main
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1