From 97f3bc6d1191c4d87581cf6f00f3af2ba23e7715 Mon Sep 17 00:00:00 2001 From: Johan Gustafsson Date: Mon, 18 Mar 2024 17:27:30 +1030 Subject: [PATCH] Update action to pull data.yml --- .github/workflows/import_file.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/import_file.yml b/.github/workflows/import_file.yml index 763129b..5f25cfe 100644 --- a/.github/workflows/import_file.yml +++ b/.github/workflows/import_file.yml @@ -18,13 +18,13 @@ jobs: - name: Update run: | cd temporary_folder - cp -u data/data.yml ../ + cp -u data/data.yaml ../ cd .. - name: Check for changes run: | if git diff --quiet; then - echo "There is no change in data.yml." + echo "There is no change in data.yaml." echo "exiting = true" >> $GITHUB_ENV fi @@ -33,7 +33,7 @@ jobs: run: | git config user.name "{{ github.actor }}" git config user.email "{{ github.actor }}@users.noreply.github.com" - git add _data/data.yml + git add _data/data.yaml git commit -m "Updated the data.yml sourced from australianbiocommons.github.io" git push fi \ No newline at end of file