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:
branches:
- main
paths-ignore:
- '**.md'
- '**.txt'
schedule:
- cron: '20 20 * * *' # 8:20pm everyday
push:
branches:
- main
paths-ignore:
- '**/README.md'
- '**.md'
- '**.txt'
env:
IMAGE_NAME: base
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}