From 87f888d811cbc9d39046e18b83fe58b201fee379 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Mon, 25 Jul 2022 17:43:22 +0300 Subject: [PATCH] Do not trigger build if commits only contains non code changes. --- .github/workflows/build.yml | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f804f178..61d0d677 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,9 +4,13 @@ on: push: branches: - '*' + paths-ignore: + - '**.md' pull_request: branches: - 'master' + paths-ignore: + - '**.md' env: DOCKERHUB_SLUG: arabcoders/watchstate diff --git a/README.md b/README.md index 4eac7d74..155d44aa 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Create directory called `data` next to the `docker-compose.yaml` file. After creating your docker compose file, start the container. ```bash -$ docker-compose pull && docker-compose up -d +$ mkdir -p ./data && docker-compose pull && docker-compose up -d ``` # Adding backend