From 0673255fc84ac480dcc128ebb88e0628a4ae18f0 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Wed, 15 Nov 2023 10:06:49 +0100 Subject: [PATCH] remove styles.css from gitignore to allow github action to detect changes --- .github/workflows/build-css.yaml | 2 +- .gitignore | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-css.yaml b/.github/workflows/build-css.yaml index a95cddc..4d4045c 100644 --- a/.github/workflows/build-css.yaml +++ b/.github/workflows/build-css.yaml @@ -24,7 +24,7 @@ jobs: - name: Commit generated stylesheet run: | - if git diff --quiet; then + if git diff cmd/styles.css --quiet; then echo "No changes to commit." exit 0 else diff --git a/.gitignore b/.gitignore index 27ff4d9..212e502 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ ladder VERSION -output.css -styles.css \ No newline at end of file +output.css \ No newline at end of file