Update trigger conditions

- Only run when changes are made on files inside 'sunshine' directory
  - Prevents workflow from running again when this workflow pushes changes back into 'locale' directory
  - Should be cleaner than using 'paths-ignore'
This commit is contained in:
ReenigneArcher 2022-03-11 14:00:23 -05:00
parent 01155ef4a3
commit f1d82a7d09

View File

@ -3,8 +3,8 @@ name: localize
on:
push:
branches: [nightly]
paths-ignore:
- 'locale/**'
paths: # prevents workflow from running again when this workflow pushes changes back into 'locale' directory
- 'sunshine/**' # only localizing files inside sunshine directory
workflow_dispatch:
jobs: