Update build.yml avoid build on changes to any txt or readme files for both merge and PR requests issue #50 (#63)

This commit is contained in:
Animesh Kumar Nayak
2023-02-18 03:02:43 +05:30
committed by GitHub
parent 521f0adcda
commit 2372e3ac85

View File

@@ -3,13 +3,17 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
paths-ignore:
- '**.md'
- '**.txt'
schedule: schedule:
- cron: '20 20 * * *' # 8:20pm everyday - cron: '20 20 * * *' # 8:20pm everyday
push: push:
branches: branches:
- main - main
paths-ignore: paths-ignore:
- '**/README.md' - '**.md'
- '**.txt'
env: env:
IMAGE_NAME: base IMAGE_NAME: base
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}