Skip to content

ignore paths in build workflow #20

ignore paths in build workflow

ignore paths in build workflow #20

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- '.gitignore'
- '.dockerignore'
- '.github/dependabot.yml'
- 'Dockerfile'
- 'LICENSE'
- 'README.md'
- '.prettierrc'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: '**/package.json'
- run: npm install
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .
single-commit: true